Update README.md
Browse files
README.md
CHANGED
|
@@ -10,4 +10,46 @@ pinned: false
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
## Train the Custom ResNet Model using Pytorch Lighning
|
| 14 |
+
|
| 15 |
+
Using Collab train the Custom ResNet Model using Pytorch Lightning
|
| 16 |
+
|
| 17 |
+
## Download the Model weights
|
| 18 |
+
Download the model weights
|
| 19 |
+
|
| 20 |
+
## Create account in Hugging Face
|
| 21 |
+
Create a user account in Hugging Face
|
| 22 |
+
|
| 23 |
+
## Create a new space
|
| 24 |
+
|
| 25 |
+
Create a new space using URL: https://huggingface.co/new-space
|
| 26 |
+
|
| 27 |
+
Space Name: custom_resnet_cifar10_classifier
|
| 28 |
+
License: MIT
|
| 29 |
+
|
| 30 |
+
## Upload files
|
| 31 |
+
|
| 32 |
+
- Upload requirements.txt file:
|
| 33 |
+
with pytorch-lightning
|
| 34 |
+
torch
|
| 35 |
+
torchvision
|
| 36 |
+
torch-lr-finder
|
| 37 |
+
grad-cam
|
| 38 |
+
pillow
|
| 39 |
+
numpy
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
- Upload 10 example image files:
|
| 43 |
+
|
| 44 |
+
- Upload the model weights file
|
| 45 |
+
|
| 46 |
+
- Create app.py with the following logic
|
| 47 |
+
|
| 48 |
+
- Load the weights
|
| 49 |
+
- Logic for inference
|
| 50 |
+
- Gradio application with the parameters specified
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
|
| 54 |
+
|
| 55 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|