Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -7,7 +7,7 @@ from ViT import ViT
|
|
7 |
import spaces
|
8 |
|
9 |
|
10 |
-
@spaces.GPU(duration=5)
|
11 |
def getViT(seed,classNames,DEVICE):
|
12 |
setAllSeeds(seed)
|
13 |
ViTModel = ViT(3,768,16,224,3072,12,0.1,12,len(classNames)).to(DEVICE)
|
|
|
7 |
import spaces
|
8 |
|
9 |
|
10 |
+
# @spaces.GPU(duration=5)
|
11 |
def getViT(seed,classNames,DEVICE):
|
12 |
setAllSeeds(seed)
|
13 |
ViTModel = ViT(3,768,16,224,3072,12,0.1,12,len(classNames)).to(DEVICE)
|