GithubHelp home page GithubHelp logo

saurabhjha21 / pytorch_tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sampathweb/pytorch_tutorial

0.0 2.0 0.0 4.32 MB

PyTorch tutorial for PyData Berlin

Home Page: https://pydata.org/berlin2018/schedule/presentation/7/

Python 2.57% Jupyter Notebook 97.43%

pytorch_tutorial's Introduction

PyTorch Tutorial

This project is going to contain the material of the PyTorch tutorial.

Content

Setup

Please make sure conda is installed.

Manual install

Due to some problems with the environment.yml here are instructions for a manual installation:

# create conda environment named ppt
conda new --name ppt
source activate ppt

# Install dependencies
conda install -y matplotlib numpy scipy tensorflow
# For linux
conda install -y pytorch-cpu torchvision-cpu ignite -c pytorch
# For Mac
conda install -y pytorch torchvision ignite -c pytorch
# general
conda install -y jupyterlab -c conda-forge
pip install tensorboardX tensorboard scikit-learn
pip install -e .

Install with environment.yml

Then:

# create a conda environment
conda env create -f environment.yml

activate the conda environment

source activate pydata_pytorch_tutorial

and install the ppt package (this project basically)

pip install -e .

Mac

If you have problems with the dependencies under mac check out this issue: sotte#2

# You might have to use the `environment_mac.yml`
conda env create -f environment_mac.yml
# and manually update freetype and matplotlib
conda update freetype matplotlib

Download data and models

Download data and models for the tutorial:

python download_data.py

Then you should be ready to go. Start jupyter lab

jupyter lab

Misc

To get the Table of Contents displayed within jupyter lab do the following:

# install node
conda install -c conda-forge nodejs
# install the toc extension
jupyter labextension install jupyterlab-toc

pytorch_tutorial's People

Contributors

sotte avatar zioalex avatar satybald avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.