Real-Time Intermediate Flow Estimation for Video Frame Interpolation, based on https://github.com/hzwer/Practical-RIFE.
- PyTorch 2.10.0 or later
- VapourSynth R69 or later
- vs-miscfilters-obsolete (only needed for scene change detection)
trt requires additional packages:
- TensorRT 10.14.1 or later
- Torch-TensorRT 2.10.0 or later
To install the latest stable version of PyTorch and Torch-TensorRT, run:
pip install -U packaging setuptools wheel
pip install -U torch torchvision torch_tensorrt --extra-index-url https://download.pytorch.org/whl/cu130 --extra-index-url https://pypi.nvidia.com
pip install -U vsrife
If you want to download all models at once, run python -m vsrife. If you prefer to only download the model you
specified at first run, set auto_download=True in rife().
from vsrife import rife
ret = rife(clip)See __init__.py for the description of the parameters.