This repository contains material to get started with PyTorch v1.7. It was the base for this [pytorch tutorial] from PyData Berlin 2018.
- Foreword - Why PyTorch and why not? Why this talk?
- PyTorch basics - tensors, GPU, autograd - open in colab
- Debugging - open in colab
- Example: linear regression - open in colab
- Storing and loading models - open in colab
- Working with data -
Dataset,DataLoader,Sampler,transforms- open in colab
- Torch JIT - open in colab
- Hooks - register functions to be called during the forward and backward pass - open in colab
- Machine Learning 101 with numpy and PyTorch - open in colab
- PyTorch + GPU in Google's Colab
- Teacher Forcing
- RNNs from Scratch - open in colab
- Mean Shift Clustering - open in colab
- TODO
nnandnn.Module - TODO Deployment
- TODO Deployment with TF Serving
- TODO
nn.init - TODO PyTorch C++ frontend
- Python 3.8
python3.8 -m venv .venv
source .venv/bin/activate.fish
pip install -r requirements.txtRun the following to enable the jupyter table of contents plugin:
jupyter labextension install @jupyterlab/tocjupyter nbextension enable --py widgetsnbextension
Download data and models for the tutorial:
python download_data.pyThen you should be ready to go. Start jupyter lab:
jupyter lab- Version of this tutorial for the PyData 2018 conference: [material] [video]
