Spaces:
Runtime error
Runtime error
metadata
title: ERA Session12
emoji: 🔥
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 3.39.0
app_file: app.py
pinned: false
license: mit
Gradio UI for CIFAR10 classification with ResNet
How to use?
- Select if you want visualize the misclassified images & Select the count of misclassified images.
- Select if you want to visualize the GradCAM images & Also select count of Gradcam images, Model layer and Opacity of the resulting image.
- Click on the upload button to upload the local image to be used for prediction and select the image for prediction.
- If you want use one of the sample images, please pick one from the list of 10 sample images.
- Select the top n classes for which you want see the model performance.
- Click on the Run button
- On the right side of the interface, the top view displays the selected number of misclassified images.
- The second view displays the GradCAM output.
- And Final view displays the top n predicitons for the given image.
Components Used:
gr.Dropdown
: Used for selecting the number of images for Misclassified & GradCAM output and also for the top n classes to be displayed.gr.Checkbox
: Used for boolean inputs like if user wants to visualize Misclassified or if they want to visualize gradCAM images.gr.Slider
: Used to select the opacity paramter to be used with GradCAM viaualization.gr.Gallery
: Used to display a numebr of images, used for displaying input images and output images.gr.UploadButton
: A generic file uplaod button, used for picking and uploading local image file for prediction.gr.Button
: Used for calling the main prediction module.gr.Label
: Used for displaying the top n classification results.