baowenbo / DAIN

Depth-Aware Video Frame Interpolation (CVPR 2019)
https://sites.google.com/view/wenbobao/dain
MIT License
8.19k stars 840 forks source link

Fix seamless last frame detection #116

Closed AlphaGit closed 3 years ago

AlphaGit commented 3 years ago

The current codebase counted with the frame_count variable being a string, but that's not the case. This generated the error AttributeError: 'int' object has no attribute 'zfill' when using SEAMLESS=true.

This change fixes this error by performing a str() operation in that variable.

Fixes #115.

VelocityRa commented 3 years ago

Is there a reason this hasn't been merged?

AlphaGit commented 3 years ago

I have incorporated these changes into my fork of this repository.