Spaces:
Build error
Build error
Ubuntu
commited on
Commit
·
55d1370
1
Parent(s):
49a313e
- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -6,7 +6,7 @@ import torch
|
|
| 6 |
import numpy as np
|
| 7 |
from torchvision.datasets import ImageFolder
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
-
|
| 10 |
|
| 11 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 12 |
if ready=='yes':
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
from torchvision.datasets import ImageFolder
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
+
from pathlib import Path
|
| 10 |
|
| 11 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 12 |
if ready=='yes':
|
app.py
CHANGED
|
@@ -6,7 +6,7 @@ import torch
|
|
| 6 |
import numpy as np
|
| 7 |
from torchvision.datasets import ImageFolder
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
-
|
| 10 |
|
| 11 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 12 |
if ready=='yes':
|
|
|
|
| 6 |
import numpy as np
|
| 7 |
from torchvision.datasets import ImageFolder
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
+
from pathlib import Path
|
| 10 |
|
| 11 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 12 |
if ready=='yes':
|