Ubuntu16.04 installation Pytorch

Source: Internet
Author: User
Tags pytorch

One. Installation

1. Official Github:https://github.com/pytorch/pytorch

Install Optional Dependencieson linuxexport cmake_prefix_path="$ (dirname $ (which Conda))/. /"forif9

-A network error has occurred

downloading and extracting Packagescertifi2018.1. -: ##################################################### | -%Magma-cuda802.2.0:                                                      |0%condahttperror:http theCONNECTION FAILED forURL //conda.anaconda.org/pytorch/linux-64/magma-cuda80-2.2.0-h39f1f8d_1.tar.bz2>Elapsed:-An HTTP error occurred when trying to retrieve ThisURL. HTTP errors is often intermittent, and a simple retry wouldGetYou on your.

-According to: Previous Versions

Installation instructions and binaries for previous Pytorch versions is found on our website.

8 Conda Install Pytorch=0.1.  cuda80-c Soumith

-the installation was successful, but the operation was wrong

downloading and extracting Packagescuda801.0: ############################################################ | -%LIBGCC7.2.0: ########################################################## | -%Pytorch0.1. A: ######################################################## | -%Libtorch0.1. A: ####################################################### | -%Openblas0.2. +: ####################################################### | -%Preparing transaction:doneverifying transaction:doneexecuting transaction:done[email protected]:~$ Pythonpython2.7. -| Anaconda Custom ( --bit) | (default, the OCT -  ., -: in: +) [GCC7.2.0] on Linux2type" Help","Copyright","credits"Or"License"  forMore information.>>>Import Torchtraceback (most recent call last): File"<stdin>", line1,inch<module>File"/home/dsp/anaconda2/lib/python2.7/site-packages/torch/__init__.py", line -,inch<module> fromTorch._c Import *Importerror:/home/dsp/anaconda2/lib/python2.7/site-packages/torch/_c.so:undefined symbol: _zn4thpp10thcstensorilec1ep8thcstatep14thcslongtensor

Two. Getting Started

This tutorial is for translating the official address

Github Address
Jane's book Address
CSDN Address

Author: Soumith Chintala

Ubuntu16.04 installation Pytorch

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.