Update README.md
#1
by
sandstorm12
- opened
README.md
CHANGED
@@ -34,8 +34,8 @@ import torch
|
|
34 |
|
35 |
video = list(np.random.randn(16, 3, 224, 224))
|
36 |
|
37 |
-
feature_extractor = VideoMAEFeatureExtractor.from_pretrained("
|
38 |
-
model = VideoMAEForVideoClassification.from_pretrained("
|
39 |
|
40 |
inputs = feature_extractor(video, return_tensors="pt")
|
41 |
|
|
|
34 |
|
35 |
video = list(np.random.randn(16, 3, 224, 224))
|
36 |
|
37 |
+
feature_extractor = VideoMAEFeatureExtractor.from_pretrained("MCG-NJU/videomae-small-finetuned-ssv2")
|
38 |
+
model = VideoMAEForVideoClassification.from_pretrained("MCG-NJU/videomae-small-finetuned-ssv2")
|
39 |
|
40 |
inputs = feature_extractor(video, return_tensors="pt")
|
41 |
|