This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Deoldify Vapoursynth filter
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
Reply
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


Attached Files Thumbnail(s)
   
Reply
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)
Reply
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
Reply
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
Reply
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


Attached Files Thumbnail(s)
   
Reply
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?
Reply
“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
Reply
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?
Reply
Updated delodify test version.
Reply


Forum Jump:


Users browsing this thread: 51 Guest(s)