Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/holywu/vs-rife

RIFE function for VapourSynth
https://github.com/holywu/vs-rife

pytorch rife tensorrt vapoursynth

Last synced: 6 days ago
JSON representation

RIFE function for VapourSynth

Awesome Lists containing this project

README

        

# RIFE
Real-Time Intermediate Flow Estimation for Video Frame Interpolation, based on https://github.com/hzwer/Practical-RIFE.

## Dependencies
- [PyTorch](https://pytorch.org/get-started/) 2.6.0 or later
- [VapourSynth](http://www.vapoursynth.com/) R66 or later
- [vs-miscfilters-obsolete](https://github.com/vapoursynth/vs-miscfilters-obsolete) (only needed for scene change detection)

`trt` requires additional packages:
- [TensorRT](https://developer.nvidia.com/tensorrt) 10.7.0.post1 or later
- [Torch-TensorRT](https://pytorch.org/TensorRT/) 2.6.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 --index-url https://download.pytorch.org/whl/cu126
pip install --no-deps -U torch_tensorrt --index-url https://download.pytorch.org/whl/cu126
pip install -U tensorrt --extra-index-url https://pypi.nvidia.com
```

## Installation
```
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()`.

## Usage
```python
from vsrife import rife

ret = rife(clip)
```

See `__init__.py` for the description of the parameters.