back to course overview
Installation - PyTorch Beginner 01
New Tutorial series about PyTorch! Learn all the basics you need to get started with this deep learning framework! In this first part I show you how I install PyTorch on my Mac using Anaconda. Installation on Linux or Windows can be done almost the same way.
All code from this course can be found on GitHub.
select OS: Mac select Package: conda select Python 3.7 if Linux or Windows and want GPU support --> >select Cuda version 10.1
Install Cuda Toolkit (If you want GPU support)
Development environment for creating high performance GPU-accelerated applications You need an NVIDIA GPU in your machine:
Legacy releases 10.1 update 2 --> select OS (e.g. Windows 10) --> Download and install
Create conda environment and activate it
conda create -n pytorch python=3.7 conda activate pytorch
conda install pytorch torchvision -c pytorch
or with GPU
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
import torch x = torch.rand(5, 3) print(x) torch.cuda.is_available()
Join My Newsletter! Get Python and ML tips emailed directly to your inbox. Each month you’ll get a summary of all the content I created, including the newest videos, articles, promotions, tips, and more.
Implement popular Machine Learning algorithms from scratch using only built-in Python modules and numpy.
Advanced Python Tutorials. It covers topics like collections, decorators, generators, multithreading, logging, and much more.
Learn all the necessary basics to get started with this deep learning framework.