madhurjindal
commited on
Commit
•
3613abb
1
Parent(s):
5ad2f5f
Update README.md
Browse files
README.md
CHANGED
@@ -10,4 +10,20 @@ pinned: false
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
10 |
license: apache-2.0
|
11 |
---
|
12 |
|
13 |
+
# IMAGE CLASSIFICATION with GradCAM
|
14 |
+
|
15 |
+
A simple Gradio interface to visualize the output of a CNN trained on CIFAR10 dataset with GradCAM and Misclassified images.
|
16 |
+
The architecture is inspired from David Page’s (myrtle.ai) DAWNBench winning model archiecture.
|
17 |
+
Please input the image and select the number of top predictions to display - you will see the top predictions and their corresponding confidence scores.
|
18 |
+
You can also select whether to show GradCAM for the particular image (utilizes the gradients of the classification score with respect to the final convolutional feature map, to identify the parts of an input image that most impact the classification score).
|
19 |
+
You need to select the model layer where the gradients need to be plugged from - this affects how much of the image is used to compute the GradCAM. You can also select whether to show misclassified images - these are the images that the model misclassified.
|
20 |
+
Some examples are provided in the examples tab.
|
21 |
+
|
22 |
+
## CIFAR-10 Dataset
|
23 |
+
|
24 |
+
The CIFAR-10 dataset consists of 60000 32x32 colour images in 10 classes, with 6000 images per class. There are 50000 training images and 10000 test images.
|
25 |
+
|
26 |
+
The dataset is divided into five training batches and one test batch, each with 10000 images. The test batch contains exactly 1000 randomly-selected images from each class. The training batches contain the remaining images in random order, but some training batches may contain more images from one class than another. Between them, the training batches contain exactly 5000 images from each class.
|
27 |
+
|
28 |
+
|
29 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|