如何对任意时刻进行插帧
注意到RIFE设计为对t=0.5处进行插帧,再利用迭代方式获取更多帧数。如果我想在任意时刻进行插帧,请问如何修改?
RIFEm 可以输入 t 直接实现任意时刻插帧呀。你说的是 inference_img.py 的迭代吗,可以参照 https://github.com/megvii-research/ECCV2022-RIFE/blob/main/benchmark/HD_multi_4X.py 的推理方式。
你需要七连帧的数据集训练才能帮助timestep更好的控制插帧结果是按照预想的出现
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 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