Piovasia wrote:Umm, If you had installed old method, you can load all Ncnn model with TensorRt.
Chainik wrote:
That one - https://github.com/AmusementClub/vs-mlrt - is MUUUUCH better
-------------
Post updates:
09/01: updated both libs and scripts, should improve 4K performance on 4080+
-------------
Let's try this:
0. nothing to do with Python big_smile
1. download --> https://www.svp-team.com/files/temp/rife-trt-0701.7z <--, unpack into SVP 4\rife (you should already have this folder), so vstrt.dll must be in the root, i.e. SVP 4\rife\vstrt.dll
2. replace generate.js, base.py in SVP 4\script; restart SVP to be sure
3. menu -> Applications settings -> Additional options -> All settings, go to 'User defined options'
Title: TensortRT; Script name: rife_trt; Other values by default - "FRC profile", "ON or OFF"
Click 'Add option'
Go to the RIFE video profile, see the added TensortRT on/off swtich.
Make a copy of the RIFE video profile, one with TensorRT ON and another with OFF.
Pros:
- no Pytorch!
- works in a real-time
- even faster (?) than vsrife [could be just because of some TensorRT options]
Cons:
- even slower (?) first-time initialization [could be just because of some TensorRT options]
- a nasty command-line window will pop-up for every new video resolution
It's OK for the command-line window to stay for 4-5 mins. Don't close it! Wait!
You followed this guide, right?
OK, I got what you want now. RIFE TRT in that guide always runs model 4.6 from the start. Changing models in that guide does nothing.
TRT model version use: rife_v4.x.onnx *.onnx file
ncnn model version use: flownet.bin, flownet.param file
the models from https://github.com/styler00dollar/Vapou … cnn-Vulkan, only contain flownet.bin, flownet.param file. It means it only runs with RIFE ncnn, not RIFE TRT.
the title also said VapourSynth-RIFE-ncnn-Vulkan.