Spaces:
Sleeping
Sleeping
File size: 1,357 Bytes
4f92716 660465f 4f92716 660465f 4f92716 660465f d4fa30f 13b40a0 660465f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
---
license: mit
title: app gradio
sdk: gradio
---
model is trained using pytorch-lightning. and gives above 90 percent accuracy.
training code can be found at this repo - https://github.com/srikanthp1/S12.git
bringing up the app takes time as it has to download test_downloader
we have three tabs one for each option
## 1) takes image as input. gets the top k and also gives the grad cam on desired layer
give an example image or other image along with transparency(opacity), layer for gradcam, top classes number
UI FOR IMAGE INPUT
![image](https://github.com/srikanthp1/S12/blob/master/images/1.png)
![image](link)(https://huggingface.co/spaces/srikanthp07/s12/tree/main/examples/cat.png)
## 2) misclassified images - gets misclassified images from test_loader
give number of images to display, from test_dataloader
UI FOR MISCLASSIFIED IMAGE
![image](https://github.com/srikanthp1/S12/blob/master/images/2_1.png)
OUTPUT SAMPLE
![image](https://github.com/srikanthp1/S12/blob/master/images/2_2.png)
## 3) get all images from test_loader and give grad cam
give number of images, transparency for overlap, layer number which is upto 3 3 being very spotty
GRAD-CAM UI
![image](https://github.com/srikanthp1/S12/blob/master/images/3_1.png)
GRAD-CAM OUTPUT SAMPLE
![image](https://github.com/srikanthp1/S12/blob/master/images/3_2.png)
|