Skip to content

jinh0park/gradcam_torch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grad-Cam Pytorch

Deepest Season 5 Recruiting: Quest 1 Source code

Quest Link (PDF)

Install

  • python 3.6.x or higher
  • pytorch v1.0.0 (It might run well on v0.4.x, but I did not test yet.)
  • pillow
  • numpy
  • matplotlib (pyplot)

Run

Train Model

python train.py

Evaluate Test Accuracy

python test.py

Make Saliency Map Using Gradcam

python gradcam.py

Results

  • Test accuracy: 80.38%
  • # of parameters: 2,940,682
Correct Examples
Original
Image
Saliency
Map
Incorrect Examples
Original
Image
Saliency
Map

About

Grad-Cam source code on stl10 dataset, vggnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages