Closed n00mkrad closed 2 years ago
https://github.com/hzwer/Practical-RIFE/blob/66a4e2917e7e23a52ba467ee77ba1617962718ea/inference_video.py#L196 Increasing this padding number to 128 can fix this issue.
Hi, is this RIFE 4.0 model trained with perceptual loss? Thx.
@SportsmanLee Yes, 0.5 l1 loss + 0.5 perceptual loss -> https://github.com/hzwer/Practical-RIFE/blob/66a4e2917e7e23a52ba467ee77ba1617962718ea/model/loss.py#L98
Interpolating 720p or 1440p video with RIFE 4.0 throws an error after some frames:
1080p works fine, it seems to be some scaling/cropping issue?
I can reliably reproduce this problem on 4.0, but not on 3.9, so it seems to be caused by IFNet_HDv3.py changes.