Selur's Little Message Board
Deoldify Vapoursynth filter - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Talk, Talk, Talk (https://forum.selur.net/forum-5.html)
+--- Forum: Small Talk (https://forum.selur.net/forum-7.html)
+--- Thread: Deoldify Vapoursynth filter (/thread-3595.html)



RE: Deoldify Vapoursynth filter - Selur - 02.06.2024

Quote: Good to know that HolyWu is updating vsFeMaSR, my problems on mmcv are probably due to the torch version used by Hybrid (2.4) it is possible to downgrade the torch version used by Hybrid to 2.3 ?
Nope, that would kill most of the torch tools.

Quote: In "custom" mode if is selected the DeepEx method 3 or 4, the function HAVC_ddeoldify() don't have to be called, since the output clp_ref is not used. The generated code is correct but is performing a non necessary call to HAVC_deepex().
Removed HAVC_ddeoldify for method 3&4, updated download. (this version also works with vsFeMaSR 2.0)

Cu Selur


RE: Deoldify Vapoursynth filter - Dan64 - 02.06.2024

Now the "custom" mode is Ok.
In the "preset" mode, when the DeepExMethod is 1 or 2, is disabled the "Ref Frame Dir". Should be enabled.


[Image: attachment.php?aid=2530]


Thanks,
Dan


RE: Deoldify Vapoursynth filter - Selur - 02.06.2024

atm. the logic is:
this->doSetEnabled(model, "vsDeOldifySceneFramedir", deepEx && ((deepExMethod > 0 && custom) || deepExMethod > 2));
so you want:
this->doSetEnabled(model, "vsDeOldifySceneFramedir", deepEx && deepExMethod != 0);
? (updated download)


RE: Deoldify Vapoursynth filter - Dan64 - 02.06.2024

yes, it is the expected behavior. I added method 1 and 2 to provide the possibility to "manually" fix only few frames while the remaining frames are generated by DDdeoldify.

This version is working perfectly.

Thanks Smile 

Dan


RE: Deoldify Vapoursynth filter - djilayeden - 04.06.2024

Hi Dan, hope you're well, great result on the DeepEx, thanks for adding the reference image folder option!  I hope we can add several reference images at once in this folder.

Thank you very much for your work.

Djilay

Hi Selur, hope you're well, looking forward to trying this version which includes DeepEx! Thanks for all your efforts to make this filter work!

Best regards

Djilay


RE: Deoldify Vapoursynth filter - Dan64 - 06.06.2024

Hello Selur,

  I found other issues on the GUI for HAVC.

  1) When DeepEx is enabled and Method = 0 (HAVC) the check box “Reference frame only” and the box “Ref Frame Dir” must be enabled.
       Now are disabled (see picture).

       [Image: attachment.php?aid=2538]

  2)  In “custom” mode when DeepEx is selected, the stabilization filters “Chroma Smoothing” and “Darkness” 
       must be propagated to DeepEx only. Now are propagated both to HAVC_deepex and HAVC_stabilizer (see box)

      
clip = HAVC_deepex(clip=clip, clip_ref=clipRef, dark="True", smooth=True)

clip = HAVC_stabilizer(clip=clip, dark=True, smooth=True, colormap="none", render_factor=24)


Dan


RE: Deoldify Vapoursynth filter - Selur - 06.06.2024

Quote:When DeepEx is enabled and Method = 0 (HAVC) the check box “Reference frame only” and the box “Ref Frame Dir” must be enabled.
okay, is there a scenario where those should not be enabled/used?


RE: Deoldify Vapoursynth filter - Dan64 - 06.06.2024

“Ref Frame Dir”  can be used by any DeepEx method, while “Reference frame only” only when the DeepEx method = 0 (HAVC).
In the other methods “Ref Frame Dir”  is used as "input" dir, only when method = 0, “Ref Frame Dir” can be used as "output" dir.

Dan


RE: Deoldify Vapoursynth filter - Selur - 06.06.2024

HAVC_deepex:
:param sc_framedir:         if set, define the directory where are stored the reference frames. If only_ref_frames=True,
                                and method=0 this directory will be written with the reference frames used by the filter.
                                if method!=0 the directory will be read to create the reference frames that will be used
                                by "Deep-Exemplar-based Video Colorization".

:param sc_framedir:         If set, define the directory where the reference frames are stored.
                                The reference frame name must be in the format: ref_nnnnnn.[jpg|png|jpeg], for example
                                the reference frame 897 must be named: ref_000897.[jpg|png|jpeg]
=> should this be one text?


RE: Deoldify Vapoursynth filter - Selur - 06.06.2024

Updated delodify test version.