22
33-------------------------------------------------------------------------------- 
44
5- <p  align =" center " ><img  src =" https://img.shields.io/github/stars/yunjey/pytorch-tutorial.svg " /> 
6- <img  src =" https://img.shields.io/github/forks/yunjey/pytorch-tutorial.svg "  />
7- <img  src =" https://img.shields.io/badge/license-MIT-blue.svg " /> </p >
8- 
95This repository provides tutorial code for deep learning researchers to learn [ PyTorch] ( https://github.com/pytorch/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] ( http://pytorch.org/tutorials/beginner/deep_learning_60min_blitz.html ) .
106
117
128<br />
139
1410## Table of Contents  
1511
16- *  [ PyTorch Basics] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/00%20-%20PyTorch%20Basics/main.py ) 
17- *  [ Linear Regression] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/01%20-%20Linear%20Regression/main.py#L24-L31 ) 
18- *  [ Logistic Regression] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/02%20-%20Logistic%20Regression/main.py#L35-L42 ) 
19- *  [ Feedforward Neural Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/03%20-%20Feedforward%20Neural%20Network/main.py#L36-L47 ) 
20- *  [ Convolutional Neural Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/04%20-%20Convolutional%20Neural%20Network/main.py#L33-L53 ) 
21- *  [ Deep Residual Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/05%20-%20Deep%20Residual%20Network/main.py#L67-L103 ) 
22- *  [ Recurrent Neural Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/06%20-%20Recurrent%20Neural%20Network/main.py#L38-L56 ) 
23- *  [ Bidirectional Recurrent Neural Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/07%20-%20Bidirectional%20Recurrent%20Neural%20Network/main.py#L38-L57 ) 
24- *  [ Language Model (RNNLM)] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/08%20-%20Language%20Model/main.py#L28-L53 ) 
25- *  [ Image Captioning (CNN-RNN)] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/09%20-%20Image%20Captioning ) 
26- *  [ Generative Adversarial Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/10%20-%20Generative%20Adversarial%20Network/main.py#L25-L51 ) 
27- *  [ Deep Convolutional GAN] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/11%20-%20Deep%20Convolutional%20Generative%20Adversarial%20Network/main.py#L32-L50 ) 
28- *  Variational Auto-Encoder (will be updated soon)
29- *  Neural Style Transfer (will be updated soon)
30- *  [ Deep Q-Network and Q-learning (WIP)] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/12%20-%20Deep%20Q%20Network/dqn13.py ) 
12+ #### 1. Basics  
13+ *  [ PyTorch Basics] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/01-basics/pytorch_basics/main.py ) 
14+ *  [ Linear Regression] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/01-basics/linear_regression/main.py#L24-L31 ) 
15+ *  [ Logistic Regression] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/01-basics/logistic_regression/main.py#L35-L42 ) 
16+ *  [ Feedforward Neural Network] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/01-basics/feedforward_neural_network/main.py#L36-L47 ) 
17+ 
18+ #### 2. Intermediate  
19+ *  [ Convolutional Neural Network] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/02-intermediate/convolutional_neural_network/main.py#L33-L53 ) 
20+ *  [ Deep Residual Network] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/02-intermediate/deep_residual_network/main.py#L67-L103 ) 
21+ *  [ Recurrent Neural Network] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/02-intermediate/recurrent_neural_network/main.py#L38-L56 ) 
22+ *  [ Bidirectional Recurrent Neural Network] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/02-intermediate/bidirectional_recurrent_neural_network/main.py#L38-L57 ) 
23+ *  [ Language Model (RNN-LM)] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/02-intermediate/language_model/main.py#L28-L53 ) 
24+ *  [ Generative Adversarial Network] ( https://github.com/yunjey/pytorch-tutorial/blob/master/tutorials/02-intermediate/generative_adversarial_network/main.py#L34-L50 ) 
25+ 
26+ #### 3. Advanced  
27+ *  [ Image Captioning (CNN-RNN)] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/03-advanced/image_captioning ) 
28+ *  [ Deep Convolutional GAN (DCGAN)] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/03-advanced/deep_convolutional_gan ) 
29+ *  [ Variational Auto-Encoder] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/03-advanced/variational_auto_encoder ) 
30+ *  [ Neural Style Transfer] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/03-advanced/neural_style_transfer ) 
31+ 
32+ #### 4. Utilities  
33+ *  [ TensorBoard in PyTorch] ( https://github.com/yunjey/pytorch-tutorial/tree/master/tutorials/04-utils/tensorboard ) 
34+ 
3135
3236
3337<br />
@@ -43,10 +47,13 @@ $ python main-gpu.py           # gpu version
4347<br />
4448
4549## Dependencies  
46- *  [ pytorch ] ( http ://pytorch.org ) 
47- *  [ pytorch-vision ] ( http://pytorch.org/ ) 
50+ *  [ Python 2.7 or 3.5 ] ( https ://www.continuum.io/downloads ) 
51+ *  [ PyTorch 0.1.12 ] ( http://pytorch.org/ ) 
4852
4953
5054
5155<br />
5256
57+ 
58+ ## Author  
59+ Yunjey Choi/ [ @yunjey  ] ( https://github.com/yunjey ) 
0 commit comments