I'm getting this error when running dain-app. Oddly enough, I have run another video with the same format, framerate and length and I did not get any errors. This error has seemed to occur after ffmpeg frame-splitting and after a few frames had has already successfully been interpolated.
The output of the crash_log.txt file are below.
App Crash Log Traceback (most recent call last):
File "my_design.py", line 72, in run
File "my_DAIN_class.py", line 1190, in RenderVideo
File "my_DAIN_class.py", line 1010, in StepRenderInterpolation
File "DainDataset.py", line 22, in __init__
File "psnr.py", line 17, in IsDiffScenes
File "psnr.py", line 8, in calculate_psnr
File "site-packages\PIL\Image.py", line 893, in convert
File "site-packages\PIL\ImageFile.py", line 284, in load
File "site-packages\PIL\ImageFile.py", line 67, in raise_oserror
OSError: unrecognized data stream contents when reading image file
How to I fix this error? Any help is appreciated, let me know if you need any other files.