Spaces:
Runtime error
Runtime error
JustinLin610
commited on
Commit
•
9a0b30e
1
Parent(s):
b826922
update
Browse files
data.py
CHANGED
@@ -327,7 +327,6 @@ def load_and_transform_video_data(
|
|
327 |
decode_audio=False,
|
328 |
**{"sample_rate": sample_rate},
|
329 |
)
|
330 |
-
video = torch.from_numpy(video)
|
331 |
|
332 |
all_clips_timepoints = get_clip_timepoints(clip_sampler, video.duration)
|
333 |
|
|
|
327 |
decode_audio=False,
|
328 |
**{"sample_rate": sample_rate},
|
329 |
)
|
|
|
330 |
|
331 |
all_clips_timepoints = get_clip_timepoints(clip_sampler, video.duration)
|
332 |
|