Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
|
@@ -16,6 +16,7 @@ This space is being used to host a pretrained custom ResNet type of CNN architec
|
|
| 16 |
CIFAR-10 dataset has the following classes in it: 'airplane', 'automobile', 'bird', 'cat', 'deer', 'dog', 'frog', 'horse', 'ship', 'truck'.
|
| 17 |
|
| 18 |
##### This repository contains the following files
|
|
|
|
| 19 |
### ```cifar10_resnet_epochs30.ckpt```
|
| 20 |
This is the checkpoint file that was saved post training of 30 epochs. PytorchLightning framework has been used to save the model.
|
| 21 |
|
|
@@ -25,7 +26,14 @@ This module contains the ```inference``` function that takes the user inputs suc
|
|
| 25 |
### ```helper_fn.py```
|
| 26 |
Module contains the required helper function such as loading the CustomResnet2 model with the provided checkpoint file, and map_location (CPU/cuda). Also contains the train and test image augmentations that were applied on CIFAR10 dataset.
|
| 27 |
|
|
|
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
|
| 30 |
|
| 31 |
|
|
|
|
| 16 |
CIFAR-10 dataset has the following classes in it: 'airplane', 'automobile', 'bird', 'cat', 'deer', 'dog', 'frog', 'horse', 'ship', 'truck'.
|
| 17 |
|
| 18 |
##### This repository contains the following files
|
| 19 |
+
----------------------------------------------------
|
| 20 |
### ```cifar10_resnet_epochs30.ckpt```
|
| 21 |
This is the checkpoint file that was saved post training of 30 epochs. PytorchLightning framework has been used to save the model.
|
| 22 |
|
|
|
|
| 26 |
### ```helper_fn.py```
|
| 27 |
Module contains the required helper function such as loading the CustomResnet2 model with the provided checkpoint file, and map_location (CPU/cuda). Also contains the train and test image augmentations that were applied on CIFAR10 dataset.
|
| 28 |
|
| 29 |
+
-----------------------------------------------------
|
| 30 |
|
| 31 |
+
#### Inputs from the User:
|
| 32 |
+
The user is allowed to input the following:
|
| 33 |
+
1. upload the image
|
| 34 |
+
2. A checkbox to take user input on whether to display GradCAM image
|
| 35 |
+
3. A slider to select the layer from which GradCAM image can be extracted.
|
| 36 |
+
4. A slider to select the total number of classes to be displayed.
|
| 37 |
|
| 38 |
|
| 39 |
|