Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

CHAPTER 7

Visualizing Convolutional Neural Networks

How to Run

Open "GarbageClassifier.ipynb" notebook in a local Jupyter environment or open notebook in Google Colab (Best run on CPU with High RAM)

When you run it locally to install the requirements, you can run chapter_setup.py from the terminal like this:

python chapter_setup.py

But you can also do it from the first cell of the notebook.

Requirements

For your reference, these are the requirements:

pandas~=1.5.3
numpy~=1.23.5
scikit-learn~=1.2.2
matplotlib~=3.7.1
seaborn~=0.12.2
opencv-python~=4.5.1
torchvision~=0.16.0
torch~=2.1.0
tqdm~=4.66.1
machine-learning-datasets~=0.1.23
captum~=0.6.0
ray~=2.7.1
alibi~=0.9.4
aif360~=0.5.0
efficientnet-pytorch~=0.7.1
pytorch-lightning~=2.1.0
torchinfo~=1.8.0
flask-compress~=1.14