- Notifications
You must be signed in to change notification settings - Fork0
vapoursynth version for DRBA
License
NotificationsYou must be signed in to change notification settings
routineLife1/VS-DRBA
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Distance Ratio Based Adjuster for Animeinterp, based onhttps://github.com/routineLife1/DRBA andhttps://github.com/HolyWu/vs-rife.
This project is modified fromHolyWu/vs-rife and achieves nearly the same interpolation quality as the originalDRBA project.
With TensorRT integration, it achieves a 400% acceleration, enabling real-time playback on high-performance NVIDIA GPUs.
- PyTorch 2.6.0 or later
- VapourSynth R66 or later
- vs-miscfilters-obsolete (only needed for scene change detection)
- cupy cupy-cuda11x or later (critical for acceleration)
trt
requires additional packages:
- TensorRT 10.7.0.post1 or later
- Torch-TensorRT 2.6.0 or later
To install the latest stable version of PyTorch, Torch-TensorRT and cupy, run:
pip install -U packaging setuptools wheelpip install -U torch torchvision torch_tensorrt --index-url https://download.pytorch.org/whl/cu126 --extra-index-url https://pypi.nvidia.compip install -U cupy-cuda12x
pip install -U vsdrba==1.0.1
If you want to download all models at once, runpython -m vsdrba
. If you prefer to only download the model youspecified at first run, setauto_download=True
indrba_rife()
.
fromvsdrbaimportdrba_riferet=drba_rife(clip)
See__init__.py
for the description of the parameters.
model | scale | os | hardware | arch | fps 720 | fps 1080 | vram 720 | vram 1080 | backend | verified output | batch | level | streams | threads | onnx | onnxslim / onnxsim | onnx shape | trtexec shape | precision | usage |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rife 4.26 heavy | 2x | Linux | 3070laptop / 12400 | rife (4.26) | 119 | 53 | 1.6gb | 3.4gb | trt 10.8, torch 20241231+cu126, torch_trt 20250102+cu126 (holywu vsrife) | yes, works | 1 | 5 | - | 8 | - | - | - | static | RGBH | rife(clip, trt=True, trt_static_shape=True, model="4.26.heavy", trt_optimization_level=5, sc=False) |
drba_rife 4.26 heavy | 2x | Linux | 3070laptop / 12400 | drba_rife (4.26) | 158 | 70 | 1.7gb | 3.7gb | trt 10.8, torch 20241231+cu126, torch_trt 20250102+cu126 (routineLife1 vsdrba) | yes, works | 1 | 5 | - | 8 | - | - | - | static | RGBH | rife(clip, trt=True, trt_static_shape=True, model="4.26.heavy", trt_optimization_level=5, sc=False) |