Real-Time Intermediate Flow Estimation for Video Frame Interpolation, based on https://github.com/hzwer/Practical-RIFE.
- PyTorch 2.6.0.dev20241023 or later
- VapourSynth R66 or later
- vs-miscfilters-obsolete (only needed for scene change detection)
trt
requires additional packages:
- TensorRT 10.4.0 or later
- Torch-TensorRT 2.6.0.dev20241023 or later
To install the latest nightly build of PyTorch and Torch-TensorRT, run:
pip install -U packaging setuptools wheel
pip install --pre -U torch torchvision --index-url https://download.pytorch.org/whl/nightly/cu124
pip install --no-deps --pre -U torch_tensorrt --index-url https://download.pytorch.org/whl/nightly/cu124
pip install -U tensorrt-cu12 tensorrt-cu12_bindings tensorrt-cu12_libs --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.