Skip to content

KhadijaAzhar/pytorch-Deep-Learning-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Learning (with PyTorch) Binder

This notebook repository now has a companion website, where all the course material can be found in video and textual format.

🇬🇧   🇨🇳   🇰🇷   🇪🇸   🇮🇹   🇹🇷   🇯🇵   🇸🇦   🇫🇷   🇮🇷   🇷🇺   🇻🇳   🇷🇸   🇵🇹

COMPLETE TUTORIAL

Installing Miniconda3

Download it

To Install simply type this command in terminal:

 curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

or you can download the suitable version through website:

 https://docs.conda.io/en/latest/miniconda.html

Install

Using Terminal navigate to the directory and Install the miniconda3 bash Miniconda3-latest-Linux-x86_64.sh (Verify the name of .sh file)

You do not want to automatically activate the conda environment, so apply this command:

conda config --set auto_activate_base false

Source it

source ~/.bashrc

Download Course from github

Download with git clone and Open New Terminal and apply the following command:

   git clone https://github.com/Atcold/pytorch-Deep-Learning

   cd pytorch-Deep-Learning

Install Pytorch using conda

Pytorch is installed inside Conda Environment

Give path to the conda

 export PATH="parent_path/miniconda3/bin:$PATH"

If you dont give this command you may encounter Error “ conda: command not found”

Create Conda Environment

 conda env create -f environment.yml

Check available environment

 conda env list

Activate the environment

  conda activate

You will notice that in terminal user@machine will become (environment) user@machine

Install Pytorch in this environment

conda install pytorch torchvision cpuonly -c pytorch

Install Jupyter Notebook using conda

 conda install jupyter

Check what features are installed in coda

conda list

you will find the jupyter, pytorch, ipython etc in the list shown

Run Jupyter Notebook

With in the same terminal where environment is activated run the following command:

   jupyter notebook

Close Jupyter Notebook

    Ctrl+C

Deactivate Conda Environment

   conda deactivate 

Packages

No packages published

Languages

  • Jupyter Notebook 98.6%
  • Python 1.4%