Spaces:
Runtime error
Runtime error
update README.md
Browse files
README.md
CHANGED
@@ -11,3 +11,25 @@ license: mit
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
14 |
+
|
15 |
+
## For Assignment 13
|
16 |
+
|
17 |
+
|
18 |
+
First I took Rohan shared input file, S13.ipy that is an S11 reference, where resnet code exists with lots of gradio examples.
|
19 |
+
Ensured it builds successfully.
|
20 |
+
Then I replaced the model to my model of S11.
|
21 |
+
Prepared the code in such a way that on a condition check, the training and save of weights would happen in one path. Otherwise loading the weights, it would perform testing. This weight file is .pth.
|
22 |
+
|
23 |
+
Secondly I took Rohan shared input file, cifar10-baseline.ipynb that is an S13 reference, where pytorch lightning code of a working model is present.
|
24 |
+
Ensured it builds successfully.
|
25 |
+
Then I replaced the model to my model of S11.
|
26 |
+
Prepared the code in such a way that on a condition check, the training and save of weights would happen in one path. Otherwise loading the weights, it would perform testing. This weight file is .ckpt.
|
27 |
+
|
28 |
+
Thirdly I started working on the gradio with gradcam and made it working for a single image input.
|
29 |
+
I started working on the gradio with misclassified image display and made it working.
|
30 |
+
I started working on the gradio with gradcam and made it working for a multiple images taken from cifar 10 misclassified images.
|
31 |
+
I started working on the gradio with 10 images inputter and made it working. Here it can accept 1 images and display them. Does not do anything further.
|
32 |
+
I integrated above said three items such as gradcam for multiple images, misclassified images, 10 images input in gradio. It works successfully.
|
33 |
+
|
34 |
+
Fourthly I started working on above working code to modularize it so that few py files will hold major part of code.
|
35 |
+
I started working on HuggingFace and created / updated required files and it could not be made working in HuggingFace.
|