Initial README
Browse files
README.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: mit
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
explain a high-level overview of your code and how to run your code:
|
| 6 |
+
including what packages I must install, and
|
| 7 |
+
where the data came from and in which folder it must go.
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
# Face Recognition Model
|
| 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.
|
| 17 |
+
- However, if you do want to run the model locally, you will need to install these following packages:
|
| 18 |
+
``import torch
|
| 19 |
+
import torch.nn as nn
|
| 20 |
+
import torch.optim as optim
|
| 21 |
+
import torch.nn.functional as F
|
| 22 |
+
import numpy as np
|
| 23 |
+
import torchvision
|
| 24 |
+
from torchvision import *
|
| 25 |
+
from torch.utils.data import Dataset, DataLoader``
|
| 26 |
+
|
| 27 |
+
## Running
|
| 28 |
+
- You can run this model using the Hugging Face Space: CSSE416-final-project/faceRecogModel
|
| 29 |
+
- You can upload images through the Space UI.
|
| 30 |
+
- Alternatively, if you want to run the model locally, you can use <<this>> file to load the weights.
|
| 31 |
+
|