hzwer / ECCV2022-RIFE

ECCV2022 - Real-Time Intermediate Flow Estimation for Video Frame Interpolation
MIT License
4.36k stars 433 forks source link

Wrong range of Refinenet residual? #226

Closed askerlee closed 2 years ago

askerlee commented 2 years ago

The refinenet (unet) output is converted with a sigmoid. So unet output is between (0, 1). In IFNet, it's further transformed: https://github.com/hzwer/arXiv2020-RIFE/blob/3ed182299c95a1c87f9c6cb340f854315f79ee1d/model/IFNet.py#L106 So res should be within (0, 1) as well? But in the paper, the residual Delta is between (-1, 1).

askerlee commented 2 years ago

Sorry I did a wrong calculation. res is within be (-1, 1). There are no errors.