ECCV2022-RIFE icon indicating copy to clipboard operation
ECCV2022-RIFE copied to clipboard

如何对任意时刻进行插帧

Open QMME opened this issue 3 years ago • 4 comments

注意到RIFE设计为对t=0.5处进行插帧,再利用迭代方式获取更多帧数。如果我想在任意时刻进行插帧,请问如何修改?

QMME avatar Sep 29 '22 15:09 QMME

RIFEm 可以输入 t 直接实现任意时刻插帧呀。你说的是 inference_img.py 的迭代吗,可以参照 https://github.com/megvii-research/ECCV2022-RIFE/blob/main/benchmark/HD_multi_4X.py 的推理方式。

hzwer avatar Oct 01 '22 13:10 hzwer

你需要七连帧的数据集训练才能帮助timestep更好的控制插帧结果是按照预想的出现

NEFUJoeyChen avatar Oct 12 '22 13:10 NEFUJoeyChen

the forward() function of class IFNet(nn.Module) , has parameter timestep = 0.5, but, it is never used in the function. So I think the timestep is not arbitrary.

zili-zhou avatar Dec 14 '22 06:12 zili-zhou

@zili-zhou Hi, to support timestep, set arbitrary=True to use IFNet_m.py https://github.com/megvii-research/ECCV2022-RIFE/blob/main/model/IFNet_m.py#L63

hzwer avatar Dec 16 '22 08:12 hzwer