/PytorchTutorial

A combination of pytorch codes, tutorials and ppts!

Primary LanguagePython


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.


Table of Contents

PPTs

Videos

Install

  • [PyTorch install]

Getting Installed for OSX pip 3.6 without coda

$ pip3 install http://download.pytorch.org/whl/torch-0.3.1-cp36-cp36m-macosx_10_7_x86_64.whl 
$ pip3 install torchvision 

Getting Installed for Linux pip 3.5 with coda9

$ pip3 install http://download.pytorch.org/whl/cu90/torch-0.3.1-cp35-cp35m-linux_x86_64.whl
$ pip3 install torchvision 

1. Basics

2. Intermediate

3. Advanced

4. Utilities


Getting Started

$ git clone https://github.com/Tim810306/PytorchTutorial.git
$ cd PytorchTutorial/tutorials/project_path
$ python main.py               # cpu version
$ python main-gpu.py           # gpu version
$ python main_XXX.py           # execute XXX for cpu version

Dependencies


Author

Cheng Yu Ting/ @Tim810306