--- 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)