peeyushsinghal commited on
Commit
9f847b0
·
1 Parent(s): b5bf135

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +33 -1
README.md CHANGED
@@ -10,4 +10,36 @@ pinned: false
10
  license: mit
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: mit
11
  ---
12
 
13
+
14
+ # CIFAR10 demo with GradCAM
15
+ ## How to Use the App
16
+ 1. The app has two tabs:
17
+ - **GradCAM**: In this tab, you can look Visualize Class Activations Maps (helps to see what the model is actually looking at in the image) generated by the model’s layer for the predicted class
18
+ - see existing GradCAM images (from stored misclassified images)
19
+ - upload your own 32x32 pixel image or choose an example image provided to classify and visualize the class activation maps using GradCAM. You can adjust the number of top predicted classes, show/hide the GradCAM overlay, select target layer, and control the transparency of the overlay.
20
+ - **Misclassified Examples**: In this tab, the app displays a gallery of misclassified images from CIFAR10 test dataset. You can control the number of examples shown
21
+
22
+ 2. **GradCAM Tab**:
23
+ - **View Existing Images**:
24
+ - **Number of Images** Select number of images to show, default is 1 and max is 10
25
+ - **Layers** Select the target layers for GradCAM visualization
26
+ - **Opacity**: Control the Opacity of the GradCAM overlay. The default value is 0.7.
27
+ - **New of Example Images**
28
+ - **Input Image**: Upload your own 32x32 pixel image or select one of the example images from the given list.
29
+ - **Top Classes**: Choose the number of top predicted classes to display along with their respective confidence scores.
30
+ - **Enable GradCAM**: Check this box to display the GradCAM overlay on the input image.
31
+ - **Network Layers**: Select the target layers for GradCAM visualization.
32
+ - **Opacity**: Control the Opacity of the GradCAM overlay. The default value is 0.7.
33
+
34
+ 3. **Misclassified Examples Tab**:
35
+ - **No. of Examples**: Control the number of misclassified examples displayed in the gallery. The default value is 1, max is 10.
36
+
37
+ 4. After adjusting the settings, click the "Submit" button to see the results.
38
+
39
+ ## Training code
40
+ The main code using which training was performed can be viewed at below location:
41
+
42
+
43
+ ## License
44
+
45
+ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.