SakuraD commited on
Commit
0f711d8
1 Parent(s): 8ae8fc8
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def get_index(num_frames, num_segments=8):
56
  def load_video(video_path):
57
  vr = VideoReader(video_path, ctx=cpu(0))
58
  num_frames = len(vr)
59
- frame_indices = get_index(num_frames, 8)
60
 
61
  # transform
62
  crop_size = 160
 
56
  def load_video(video_path):
57
  vr = VideoReader(video_path, ctx=cpu(0))
58
  num_frames = len(vr)
59
+ frame_indices = get_index(num_frames, 16)
60
 
61
  # transform
62
  crop_size = 160