Selur's Little Message Board

Full Version: Deoldify Vapoursynth filter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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
atm. the logic is:
Code:
this->doSetEnabled(model, "vsDeOldifySceneFramedir", deepEx && ((deepExMethod > 0 && custom) || deepExMethod > 2));
so you want:
Code:
this->doSetEnabled(model, "vsDeOldifySceneFramedir", deepEx && deepExMethod != 0);
? (updated download)
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
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
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)

      
Code:
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
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?
“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
HAVC_deepex:
Code:
: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?
Updated delodify test version.