Skip to content

PyTorch 1.x version's Tutorials using Google Colab: Overview, Regression, ConvNets, RNNs, GANs tutorials, etc.

License

Notifications You must be signed in to change notification settings

Alro10/PyTorch1.xTutorials-Gcolab

Repository files navigation

PyTorch 1.x Tutorials (step by step) with Google Colaboratory

PRsWelcome

alt text

Tutorials: Overview, Linear Regression, Logistic Regression, Shallow Neural Networks, ConvNets, RNNs and LSTM, GANs, VAEs, Tensorboard with Pytorch, etc.Official PyTorch site.

under developing!

Installation

  • Python 3.5

No CUDA

pip3 install https://download.pytorch.org/whl/cpu/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
pip3 install torchvision

CUDA 8.0

pip3 install https://download.pytorch.org/whl/cu80/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
pip3 install torchvision

CUDA 9.0

pip3 install torch torchvision

CUDA 10.0

pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl
pip3 install torchvision

Google Colaboratory

In Google colab you can only use Python 3.6 and Pytorch 1.1 is available. Also you can run coding for free! click on Open In Colab and try yourself on colab, File -> Save in drive -> Run on your G Colab.

TODO

  • Check torch.nn out for better understanding nn.module.