Skip to content

dgymjol/cam

Repository files navigation

CAM based on ResNet50

0. Introduction :

  • CAM on CUB-200-2011 dataset
  • CAM backbone : ResNet50 (pretrained on ImageNet)

1. Virtual Env

conda :

 $ bash install.sh 

2. Preprocessing CUB-200-2011 dataset

 $ cd data/CUB_200_2011
 $ wget https://data.caltech.edu/records/65de6-vp158/files/CUB_200_2011.tgz
 $ tar -xzvf CUB_200_2011.tgz
 $ python preprocessing.py

3. Training

 $ bash exp.sh 

4. Evaluation

 $ bash eval.sh

5. Visualization for one image

 $ python visualized_cam.py --weights work_dir/cub/vgg16_cam_0.001:45 --image-id 1

6. References :

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors