Update README.md
Browse files
README.md
CHANGED
@@ -24,7 +24,7 @@ from transformers import VideoMAEFeatureExtractor, TimesformerForVideoClassifica
|
|
24 |
import numpy as np
|
25 |
import torch
|
26 |
|
27 |
-
video = list(np.random.randn(
|
28 |
|
29 |
feature_extractor = VideoMAEFeatureExtractor.from_pretrained("MCG-NJU/videomae-base-finetuned-kinetics")
|
30 |
model = TimesformerForVideoClassification.from_pretrained("facebook/timesformer-hr-finetuned-k600")
|
|
|
24 |
import numpy as np
|
25 |
import torch
|
26 |
|
27 |
+
video = list(np.random.randn(16, 3, 448, 448))
|
28 |
|
29 |
feature_extractor = VideoMAEFeatureExtractor.from_pretrained("MCG-NJU/videomae-base-finetuned-kinetics")
|
30 |
model = TimesformerForVideoClassification.from_pretrained("facebook/timesformer-hr-finetuned-k600")
|