tarun005 / FLAVR

Code for FLAVR: A fast and efficient frame interpolation technique.
Apache License 2.0
455 stars 69 forks source link

KeyError: 'video_fps' #56

Closed kubinka0505 closed 6 months ago

kubinka0505 commented 11 months ago

After processing a short 25 FPS video with the !python interpolate.py --input_video "$VIDEO" --factor 2 --load_model FLAVR_2x.pth command, I've got an error:

Traceback (most recent call last):
  File "/content/FLAVR/interpolate.py", line 130, in <module>
    videoTensor = video_to_tensor(input_video)
  File "/content/FLAVR/interpolate.py", line 111, in video_to_tensor
    fps = md["video_fps"]
KeyError: 'video_fps'

Any way to fix it?

tarun005 commented 11 months ago

Looks like it has to do something with the versions of torchvision.io. Can you try to match the versions recommended in the repo and let me know if the problem persists?