dawkinscm wrote:Nope. Still crashes out. I've got the TRT error log and it says that broadcast dimensions must be comformable.
It seems 4.26 also crashes when the width or height of the resized video is not divisible by 64 with:
[ 1.419][f][vapoursynth] Script evaluation failed:
[ 1.419][f][vapoursynth] Python exception: vsmlrt.RIFEMerge: tile size must be divisible by 64 (416, 256)
[ 1.419][f][vapoursynth]
[ 1.419][f][vapoursynth] Traceback (most recent call last):
[ 1.419][f][vapoursynth] File "src\\cython\\vapoursynth.pyx", line 3121, in vapoursynth._vpy_evaluate
[ 1.419][f][vapoursynth] File "src\\cython\\vapoursynth.pyx", line 3122, in vapoursynth._vpy_evaluate
[ 1.419][f][vapoursynth] File "C:\Users\Flowr\AppData\Roaming\SVP4\scripts\1c2e810c.py", line 83, in <module>
[ 1.419][f][vapoursynth] smooth = interpolate(clip)
[ 1.419][f][vapoursynth] ^^^^^^^^^^^^^^^^^
[ 1.419][f][vapoursynth] File "C:\Users\Flowr\AppData\Roaming\SVP4\scripts\1c2e810c.py", line 62, in interpolate
[ 1.419][f][vapoursynth] smooth = RIFE_imp(input_rife,multi=rife_num,model=rife_mnum,backend=trt_backend)
[ 1.419][f][vapoursynth] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 1.419][f][vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\helpers.py", line 23, in RIFE_imp
[ 1.419][f][vapoursynth] return RIFE(clip,multi,1.0,None,None,None,model_num,backend,ensemble,False,implementation)
[ 1.419][f][vapoursynth] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 1.419][f][vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 1215, in RIFE
[ 1.419][f][vapoursynth] output0 = RIFEMerge(
[ 1.419][f][vapoursynth] ^^^^^^^^^^
[ 1.419][f][vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 1049, in RIFEMerge
[ 1.419][f][vapoursynth] raise ValueError(
[ 1.419][f][vapoursynth] ValueError: vsmlrt.RIFEMerge: tile size must be divisible by 64 (416, 256)
So we also need to change the code from "C:\Program Files (x86)\SVP 4\script\generate.js" from:
var pw = Math.floor((media.dst_w-1)/32+1)*32 - media.dst_w;
var ph = Math.floor((media.dst_h-1)/32+1)*32 - media.dst_h;
to
var pw = Math.floor((media.dst_w-1)/64+1)*64 - media.dst_w;
var ph = Math.floor((media.dst_h-1)/64+1)*64 - media.dst_h;
Attaching files that load both v1 and v2 correctly below.
Post's attachmentsgenerate.js 24.12 kb, 57 downloads since 2024-09-22
helpers.py 717 b, 50 downloads since 2024-09-22
vsmlrt.py 102.45 kb, 68 downloads since 2024-09-22