Commit
•
55947f6
1
Parent(s):
79e8333
Update README.md (#1)
Browse files- Update README.md (b2159d047b799d3966821631116421b9cf9c38c3)
Co-authored-by: Hamid Mohammadi <[email protected]>
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 |
|