Spaces:
Build error
Build error
Ubuntu commited on
Commit ·
56666a2
1
Parent(s): c4fa864
- .ipynb_checkpoints/app-checkpoint.py +1 -1
- app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py
CHANGED
|
@@ -8,7 +8,7 @@ from torchvision.datasets import ImageFolder
|
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
from pathlib import Path
|
| 10 |
import pytorch_lightning as pl
|
| 11 |
-
|
| 12 |
|
| 13 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 14 |
if ready=='yes':
|
|
|
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
from pathlib import Path
|
| 10 |
import pytorch_lightning as pl
|
| 11 |
+
from torch.utils.data import DataLoader
|
| 12 |
|
| 13 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 14 |
if ready=='yes':
|
app.py
CHANGED
|
@@ -8,7 +8,7 @@ from torchvision.datasets import ImageFolder
|
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
from pathlib import Path
|
| 10 |
import pytorch_lightning as pl
|
| 11 |
-
|
| 12 |
|
| 13 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 14 |
if ready=='yes':
|
|
|
|
| 8 |
from transformers import ViTFeatureExtractor, ViTForImageClassification, AutoFeatureExtractor, ViTMSNForImageClassification
|
| 9 |
from pathlib import Path
|
| 10 |
import pytorch_lightning as pl
|
| 11 |
+
from torch.utils.data import DataLoader
|
| 12 |
|
| 13 |
def video_identity(video,user_name,class_name,trainortest,ready):
|
| 14 |
if ready=='yes':
|