Update to READme
Browse files
README.md
CHANGED
|
@@ -11,6 +11,13 @@ where the data came from and in which folder it must go.
|
|
| 11 |
|
| 12 |
|
| 13 |
## Files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Neccessary Package
|
| 16 |
- Since the model all runs on Hugging Face, you don't need to install any packages.
|
|
@@ -29,7 +36,13 @@ where the data came from and in which folder it must go.
|
|
| 29 |
|
| 30 |
from torchvision import *
|
| 31 |
|
| 32 |
-
from torch.utils.data import Dataset, DataLoader
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Running
|
| 35 |
- You can run this model using the Hugging Face Space: CSSE416-final-project/faceRecogModel
|
|
|
|
| 11 |
|
| 12 |
|
| 13 |
## Files
|
| 14 |
+
- modelWeights101.bin
|
| 15 |
+
- Weights of model we trained using the Gauss server
|
| 16 |
+
- app.py, model.py, and config.json
|
| 17 |
+
- Standard files used by Hugging Face (HF) to setup the architecture of the model in conjunction with the weights
|
| 18 |
+
- updateHFtemplate
|
| 19 |
+
- Used this file to update the above files in the Hugging Face repository
|
| 20 |
+
- The weights file did not update properly using standard gate, so we used Hugging Face Hub with this file to properly update the repo
|
| 21 |
|
| 22 |
## Neccessary Package
|
| 23 |
- Since the model all runs on Hugging Face, you don't need to install any packages.
|
|
|
|
| 36 |
|
| 37 |
from torchvision import *
|
| 38 |
|
| 39 |
+
from torch.utils.data import Dataset, DataLoader
|
| 40 |
+
|
| 41 |
+
from huggingface_hub import login
|
| 42 |
+
from huggingface_hub import upload_file
|
| 43 |
+
|
| 44 |
+
``
|
| 45 |
+
- You also need a personal HG login token to update using HF Hub
|
| 46 |
|
| 47 |
## Running
|
| 48 |
- You can run this model using the Hugging Face Space: CSSE416-final-project/faceRecogModel
|