Video Classification
Transformers
Safetensors
vjepa2
video
qubvel-hf commited on
Commit
3e432cf
·
verified ·
1 Parent(s): 3cc699b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -1
README.md CHANGED
@@ -44,7 +44,6 @@ model = AutoModelForVideoClassification.from_pretrained(hf_repo).to(device)
44
  processor = AutoVideoProcessor.from_pretrained(hf_repo)
45
 
46
  # To load a video, sample the number of frames according to the model.
47
- # For this model, we use 64.
48
  video_url = "https://huggingface.co/datasets/nateraw/kinetics-mini/resolve/main/val/bowling/-WH-lxmGJVY_000005_000015.mp4"
49
  vr = VideoDecoder(video_url)
50
  frame_idx = np.arange(0, model.config.frames_per_clip, 8) # you can define more complex sampling strategy
 
44
  processor = AutoVideoProcessor.from_pretrained(hf_repo)
45
 
46
  # To load a video, sample the number of frames according to the model.
 
47
  video_url = "https://huggingface.co/datasets/nateraw/kinetics-mini/resolve/main/val/bowling/-WH-lxmGJVY_000005_000015.mp4"
48
  vr = VideoDecoder(video_url)
49
  frame_idx = np.arange(0, model.config.frames_per_clip, 8) # you can define more complex sampling strategy