new model
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from torchvision.transforms import (
|
|
20 |
)
|
21 |
from transformers import VideoMAEFeatureExtractor, VideoMAEForVideoClassification
|
22 |
|
23 |
-
MODEL_CKPT = "archit11/videomae-base-finetuned-
|
24 |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
25 |
|
26 |
MODEL = VideoMAEForVideoClassification.from_pretrained(MODEL_CKPT).to(DEVICE)
|
|
|
20 |
)
|
21 |
from transformers import VideoMAEFeatureExtractor, VideoMAEForVideoClassification
|
22 |
|
23 |
+
MODEL_CKPT = "archit11/videomae-base-finetuned-ucfcrime-full"
|
24 |
DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
25 |
|
26 |
MODEL = VideoMAEForVideoClassification.from_pretrained(MODEL_CKPT).to(DEVICE)
|