Spaces:
Runtime error
Runtime error
Commit
·
51b7d90
1
Parent(s):
738397a
cambios
Browse files- model.py +1 -1
- requirements.txt +2 -2
model.py
CHANGED
@@ -6,7 +6,7 @@ from torch import nn
|
|
6 |
|
7 |
def create_vit16_model(num_classes:int=101,
|
8 |
seed:int=42):
|
9 |
-
"""Creates an
|
10 |
|
11 |
Args:
|
12 |
num_classes (int, optional): number of classes in the classifier head.
|
|
|
6 |
|
7 |
def create_vit16_model(num_classes:int=101,
|
8 |
seed:int=42):
|
9 |
+
"""Creates an vit16 feature extractor model and transforms.
|
10 |
|
11 |
Args:
|
12 |
num_classes (int, optional): number of classes in the classifier head.
|
requirements.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
torch==1.12.
|
2 |
-
torchvision==0.13.
|
3 |
gradio==3.1.4
|
|
|
1 |
+
torch==1.12.1
|
2 |
+
torchvision==0.13.1
|
3 |
gradio==3.1.4
|