Install PyTorch0.4.0 under Windows

Source: Internet
Author: User

Pytorch Frame, said 2018.4.25 just shelves windows, Ann played a game

My environment:

Windows 10

Anaconda Virtual Environment python3.6

cuda9.1

Cudnn7

Pytorch 0.4.0

CUDA9 and CUDNN I have installed the TensorFlow before the time, and here to install in the TensorFlow environment, save the installation of other modules

1.WHL Downloads

Official online and other people's tutorials are cmd or Conda download installation, I tried to slow down, and error, so I downloaded the WHL file separately,http://download.pytorch.org/whl/cu91/torch-0.4.0-cp36-cp36m-win_amd64.whl

This is for my version, the other version of the

2. General Installation

(1) First look at the virtual environment, TENSORFLOW-GPU is my 3.6 environment, activate

  

(2) switch to WHL file location installation

  

(3) Successful, test all of a sudden

  

(4) Finally installed torchversion, I use the campus network, look at the outside network a little laborious, let others help me under the WHL

or 3.6 environment to switch to the address of the WHL file, install

  

Perfect ~

  

  

Install PyTorch0.4.0 under Windows

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.