Real-Time Intermediate Flow Estimation for Video Frame Interpolation, based on https://github.com/hzwer/Practical-RIFE.
- PyTorch 2.5.0.dev
- VapourSynth R66 or later
- vs-miscfilters-obsolete (only needed for scene change detection)
trt
requires additional Python package:
- Torch-TensorRT 2.5.0.dev
To install the latest nightly build of PyTorch and Torch-TensorRT, run:
pip install -U packaging setuptools wheel
pip install --pre -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu124 --extra-index-url https://pypi.nvidia.com
pip install -U vsrife
python -m vsrife
from vsrife import rife
ret = rife(clip)
See __init__.py
for the description of the parameters.