Giter Site home page Giter Site logo

building-deep-learning-models-using-pytorch's Introduction

Building-Deep-Learning-Models-using-Pytorch

Introduction to deep learning using pytorch and better insights on some DL models.

This series will cover various topics on Deep Learning: building neural networks with PyTorch, image classification, CNNs, GANs etc. in a hands-on workshop format.

I took help from Jovian community which is a great source to track & reproduce our data science projects, collaborate easily with friends & colleagues, and automate repetitive tasks in our day-to-day workflow.

JOIN THERE COMMUNITY.

PyTorch: Zero to GANs

SYSTEM SETUP :

This tutorial takes a code-first approach towards learning PyTorch, and you should try to follow along by running and experimenting with the code yourself. We'll use the Anaconda distribution of Python to install libraries and manage virtual environments. For interactive coding and experimentation, we'll use Jupyter notebooks. All the tutorials in this series are available as Jupyter notebooks hosted on Jovian.ml: a sharing and collaboration platform for Jupyter notebooks & machine learning experiments.

Jovian.ml makes it easy to share Jupyter notebooks on the cloud by running a single command directly within Jupyter. It also captures the Python environment and libraries required to run your notebook, so anyone (including you) can reproduce your work.

Here's what you need to do to get started:

  1. Install Anaconda by following the instructions given here. You might also need to add Anaconda binaries to your system PATH to be able to run the conda command line tool.

  2. Install the jovian Python library by the running the following command (without the $) on your Mac/Linux terminal or Windows command prompt:

$ pip install jovian --upgrade
  1. Download the notebook for this tutorial using the jovian clone command:
$ jovian clone aakashns/01-pytorch-basics

(You can copy this command to clipboard by clicking the 'Clone' button at the top of this page on Jovian.ml)

Running the clone command creates a directory 01-pytorch-basics containing a Jupyter notebook and an Anaconda environment file.

$ ls 01-pytorch-basics
01-pytorch-basics.ipynb  environment.yml
  1. Now we can enter the directory and install the required Python libraries (Jupyter, PyTorch etc.) with a single command using jovian:
$ cd 01-pytorch-basics
$ jovian install

jovian install reads the environment.yml file, identifies the right dependencies for your operating system, creates a virtual environment with the given name (01-pytorch-basics by default) and installs all the required libraries inside the environment, to avoid modifying your system-wide installation of Python. It uses conda internally. If you face issues with jovian install, try running conda env update instead.

  1. We can activate the virtual environment by running
$ conda activate 01-pytorch-basics

For older installations of conda, you might need to run the command: source activate 01-pytorch-basics.

  1. Once the virtual environment is active, we can start Jupyter by running
$ jupyter notebook

You can now access Jupyter's web interface by clicking the link that shows up on the terminal or by visiting http://localhost:8888 on your browser.

What it includes:

  1. PyTorch Basics: Tensors & Gradients
  2. Linear Regression & Gradient Descent
  3. Image Classfication using Logistic Regression
  4. Training Deep Neural Networks on a GPU
  5. Convolutional Neural Networks, Regularization and ResNets
  6. Generative Adverserial Networks

building-deep-learning-models-using-pytorch's People

Contributors

jmuskaan72 avatar

Watchers

 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.