Skip to content

cbarchive/DSR_170_debugging-dl-models

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt-text

Material for the class on debugging deep learning models at Data Science Retreat.

Useful resources for debugging:

Some other resources, explaining notebook materials:

Prerequisites:

  • Clone the repo:
git clone https://github.com/stanislav-chekmenev/debugging-dl-models
  • Please, create a new virtual environment with Python=3.10. Feel free to use any of your choice. I prefer Virtualenv.

Conda:

conda create --name <name> python=3.10
conda activate <name>

Virtualenv: For Ubuntu 20.04:

sudo apt install virtualenv
python3 -m venv <path/to/venv>
source <path/to/venv>/bin/activate
  • Upgrade pip, it might be of an old version
pip install pip --upgrade
  • Install requirements:
pip install -r requirements.txt
  • Install PyCharam Community Edition:

    • Follow this manual for the installation details.
    • If you are on Linux Ubuntu starting from 16.04, then please use the following command:
     sudo snap install pycharm-community --classic
  • Create a new project and virtual environment in Pycharm: There are several options how to do it. This is one of them.

    • Open a new terminal window and run the following command to start Pycharm:
     pycharm-community &
    • You will see a Welcome screen, click New Project. If you already use Pycharm and see a project open, choose File | New Project.
    • In the location field type in the location where you cloned the repo to and choose pycharm-debugging directory.
    • Tick the box that is called "Previously configured interpreter" and choose the virtual environment that you created for this class, either conda or Virtualenv.
    • Deselect the Create a main.py welcome script checkbox. And click Create.

That should be sufficient to run everything. Thank you!

Class material:

About

DSR course debugging

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 83.1%
  • Python 16.9%