This repository provides tutorial code for deep learning researchers to learn PyTorch. In the tutorial, most of the models were implemented with less than 30 lines of code. Before starting this tutorial, it is recommended to finish Official Pytorch Tutorial.
- PyTorch Basics
- Linear Regression
- Logistic Regression
- Feedforward Neural Network
- Convolutional Neural Network
- Deep Residual Network
- Recurrent Neural Network
- Bidirectional Recurrent Neural Network
- Language Model (RNNLM)
- Image Captioning (CNN-RNN)
- Generative Adversarial Network
- Deep Convolutional Generative Adversarial Network
- Deep Q-Network and Q-learning (WIP)
$ git clone https://github.com/yunjey/pytorch-tutorial.git
$ cd pytorch-tutorial/tutorials/project_path
$ python main.py # cpu version
$ python main-gpu.py # gpu version