All Projects → nguyenhoa93 → GradCAM_and_GuidedGradCAM_tf2

nguyenhoa93 / GradCAM_and_GuidedGradCAM_tf2

Licence: MIT license
Implementation of GradCAM & Guided GradCAM with Tensorflow 2.x

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to GradCAM and GuidedGradCAM tf2

cnn-visualization-keras-tf2
Filter visualization, Feature map visualization, Guided Backprop, GradCAM, Guided-GradCAM, Deep Dream
Stars: ✭ 21 (+31.25%)
Mutual labels:  keras-tensorflow, guided-backpropagation, guided-grad-cam, gradcam
Pytorch Cnn Visualizations
Pytorch implementation of convolutional neural network visualization techniques
Stars: ✭ 6,167 (+38443.75%)
Mutual labels:  guided-backpropagation, guided-grad-cam
tf-faster-rcnn
Tensorflow 2 Faster-RCNN implementation from scratch supporting to the batch processing with MobileNetV2 and VGG16 backbones
Stars: ✭ 88 (+450%)
Mutual labels:  keras-tensorflow, tensorflow2
gcnn keras
Graph convolution with tf.keras
Stars: ✭ 47 (+193.75%)
Mutual labels:  keras-tensorflow, tensorflow2
Text and Audio classification with Bert
Text Classification in Turkish Texts with Bert
Stars: ✭ 34 (+112.5%)
Mutual labels:  keras-tensorflow, tensorflow2
GLOM-TensorFlow
An attempt at the implementation of GLOM, Geoffrey Hinton's paper for emergent part-whole hierarchies from data
Stars: ✭ 32 (+100%)
Mutual labels:  keras-tensorflow, tensorflow2
G-SimCLR
This is the code base for paper "G-SimCLR : Self-Supervised Contrastive Learning with Guided Projection via Pseudo Labelling" by Souradip Chakraborty, Aritra Roy Gosthipaty and Sayak Paul.
Stars: ✭ 69 (+331.25%)
Mutual labels:  keras-tensorflow, tensorflow2
3D-GuidedGradCAM-for-Medical-Imaging
This Repo containes the implemnetation of generating Guided-GradCAM for 3D medical Imaging using Nifti file in tensorflow 2.0. Different input files can be used in that case need to edit the input to the Guided-gradCAM model.
Stars: ✭ 60 (+275%)
Mutual labels:  guided-grad-cam, tensorflow2
TF2DeepFloorplan
TF2 Deep FloorPlan Recognition using a Multi-task Network with Room-boundary-Guided Attention. Enable tensorboard, quantization, flask, tflite, docker, github actions and google colab.
Stars: ✭ 98 (+512.5%)
Mutual labels:  keras-tensorflow, tensorflow2
potato-disease-classification
Potato Disease Classification - Training, Rest APIs, and Frontend to test.
Stars: ✭ 95 (+493.75%)
Mutual labels:  keras-tensorflow, tensorflow2
labml
🔎 Monitor deep learning model training and hardware usage from your mobile phone 📱
Stars: ✭ 1,213 (+7481.25%)
Mutual labels:  keras-tensorflow, tensorflow2
spectral normalization-tf2
🌈 Spectral Normalization implemented as Tensorflow 2
Stars: ✭ 36 (+125%)
Mutual labels:  tensorflow2
transformer-tensorflow2.0
transformer in tensorflow 2.0
Stars: ✭ 53 (+231.25%)
Mutual labels:  tensorflow2
a-neural-algorithm-of-artistic-style
Keras implementation of "A Neural Algorithm of Artistic Style"
Stars: ✭ 110 (+587.5%)
Mutual labels:  keras-tensorflow
PolyphonicPianoTranscription
Recurrent Neural Network for generating piano MIDI-files from audio (MP3, WAV, etc.)
Stars: ✭ 146 (+812.5%)
Mutual labels:  keras-tensorflow
farm-animal-tracking
Farm Animal Tracking (FAT)
Stars: ✭ 19 (+18.75%)
Mutual labels:  tensorflow2
TF-Model-Deploy-Tutorial
A tutorial exploring multiple approaches to deploy a trained TensorFlow (or Keras) model or multiple models for prediction.
Stars: ✭ 51 (+218.75%)
Mutual labels:  keras-tensorflow
muzero
A clean implementation of MuZero and AlphaZero following the AlphaZero General framework. Train and Pit both algorithms against each other, and investigate reliability of learned MuZero MDP models.
Stars: ✭ 126 (+687.5%)
Mutual labels:  tensorflow2
UnitBox
UnitBox: An Advanced Object Detection Network
Stars: ✭ 23 (+43.75%)
Mutual labels:  tensorflow2
mae-scalable-vision-learners
A TensorFlow 2.x implementation of Masked Autoencoders Are Scalable Vision Learners
Stars: ✭ 54 (+237.5%)
Mutual labels:  tensorflow2

Demo GradCAM & Guided GradCAM

On Dogs vs. Cat data

Architecture: ResNet50 & ResNet50 + FC layers

An interactive demo for GradCAM and Guided GradCAM, implemented with Tensorflow 2.x

Detailed analysis and training notebook: https://www.kaggle.com/nguyenhoa/dog-cat-classifier-gradcam-with-tensorflow-2-0

Prerequisite

  • Python 3.6
  • Required packages
bash requirements.txt

Demo

You can run on your own resources with the file Visualization.ipynb

Otherwise, you can run on Google Colab easily via this link: https://colab.research.google.com/github/nguyenhoa93/GradCAM_and_GuidedGradCAM_tf2/blob/master/Visualization.ipynb (Don't forget to change your runtim to Python3 and choose GPU as your hardware accelerator.)

img

  • Model: There are two trained models, which are
    • VanilaResNet50: Keep the same architecture of ResNet50, replace the output layer on ImageNet and re-train with Dog vs. Cat data.
    • ResNet50PlusFC: Add 2 fully connected layers between Average Pooling layer and output layer and train on Dog vs. Cat data.
  • Image: There are some available sample images in assets/samples, if you want to run your own ones, put them in this folder to be displayed on the dropdown list.
  • Class: This will be the class for GradCAM and Guided GradCAM visualization.

References:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].