- Deep Learning with PyTorch
- Vishnu Subramanian
- 160字
- 2021-06-24 19:16:22
Installing PyTorch
PyTorch is available as a Python package and you can either use pip, or conda, to build it or you can build it from source. The recommended approach for this book is to use the Anaconda Python 3 distribution. To install Anaconda, please refer to the Anaconda official documentation at https://conda.io/docs/user-guide/install/index.html. All the examples will be available as Jupyter Notebooks in the book's GitHub repository. I would strongly recommend you use Jupyter Notebook, since it allows you to experiment interactively. If you already have Anaconda Python installed, then you can proceed with the following steps for PyTorch installation.
For GPU-based installation with Cuda 8:
conda install pytorch torchvision cuda80 -c soumith
For GPU-based installation with Cuda 7.5:
conda install pytorch torchvision -c soumith
For non-GPU-based installation:
conda install pytorch torchvision -c soumith
At the time of writing, PyTorch does not work on a Windows machine, so you can try a virtual machine (VM) or Docker image.
- Cortex-M3 + μC/OS-II嵌入式系統開發入門與應用
- SDL Game Development
- 3ds Max Speed Modeling for 3D Artists
- Artificial Intelligence Business:How you can profit from AI
- Svelte 3 Up and Running
- 電腦軟硬件維修從入門到精通
- 龍芯自主可信計算及應用
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- 圖解計算機組裝與維護
- 可編程邏輯器件項目開發設計
- 微服務實戰
- Learning Less.js
- 計算機組裝與維護
- PIC系列單片機的流碼編程
- Machine Learning Projects for Mobile Applications