To activate map for Gradient descent weights in deep learning models
- ResNet-101
- Inception-ResNet-V2
- EfficientNet
- NASNet-A-Large
- DenseNet-161
- DenseNet-169
- ...
- gradcam.py
- gradcam_for_video.py
- models.py
- CLAHE_Aug.py
-
gradcam.py
- Image folderlist use making GradCAM images
- folder name has label
- GradCAM image name is groundtruth_prediction_probability_imagename.jpg
-
gradcam_for_video.py
- video image frame use making GradCAM images
-
models.py
- selected model definition code
-
CLAHE_Aug.py
- video image frame convert CLAHE image
-
CAM
- it saves CAM output image
-
Model
- Saving models to predict probability and output image
-
test
- test set images to predict
## folder structure +-- test | +-- class1 | +-- img1.jpg | +-- img2.jpg | +-- img3.jpg | +-- class2 | +-- class3
- This GradCAM codes read PIL image library
- All I want various models can make GradCAM
all gradcam code should control main function
- python gradcam.py
- python gradcam_for_video.py
- main refernce
- I modified hyunseok oh codes