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
Released in github the version 4.0.0: https://github.com/dan64/vs-deoldify/rel...tag/v4.0.0
I updated also the README

Respect to the RC4 version I added a control in the case DeepEx is enabled with method: 0,1,2 but the reference frames are not generated.
If these conditions are verified is raised an error.

Dan
Reply
Any reason why 4.0.0 requires vapoursynth>=65 ? (old R65 version only reports as R62, since there was no proper wheel file Wink)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
My testing environment is using R65 (current version used by Hybrid) and R68 (future version that will be used by Hybrid). 
Since this filter should be used with Hybrid I aligned the requirement to Hybrid.

Dan
Reply
How did you install 4.0.0 with the R65 package, for me that does not work.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
It seems that there is a problem with the dependency from R65. 
I lowered the requirement and updated the wheel in github. 
This version works.
Reply
Thanks. Smile
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
(10.06.2024, 16:48)Selur Wrote: @Dan64: Adjusted Hybrid to set sc_thresholds minimum to 0 when DeepEx is enabled and 0 otherwise. Through this, sc_threshold will be at least 0.01 when DeepEx is enabled.
Not checking for images when '... external ...' is used, since to do it seriously one would have to check that all images:
  • exist
  • are really pngs
  • their image resolution is correct  (= matches the resolution at the place DeOldify is used)
  • their naming scene is correct and the frame count fits into the current clip
=> Not doing that, since I think folks that use '... external ...' should know what they are doing. Smile
(updated the deolidfy test download)

Cu Selur

In the released version 4.0 I added also a control on the directory and is raised an error when the directory is specified but not valid images are found.
As stated previously I added a control also on sc_threshold so you can remove you setting to 0.01 and let the user to set the appropriate value.

If you want to keep it you should set to 0.10 when DeepEx is selected and sc_threshold =0 and sc_min_freq=0, but please allow the possibility to set it to 0 (currently cannot be below 0.01) because the reference frames can be set also using sc_min_freq.

Actually if DeepEx is deselected there is no reason to pass the parameters sc_threshold and sc_min_freq to HAVC_ddeoldify(), so these values can be left untouched because don't have to be passed to HAVC_ddeoldify().

I found a bug in the following setting

[Image: attachment.php?aid=2550]

In this case is generated the following code

# adding colors using DeOldify
from vsdeoldify import HAVC_ddeoldify
clipRef = HAVC_ddeoldify(clip=clip, deoldify_p=[0, 24, 1, 0], ddcolor_p=[1, 24, 1, 0, True], ddtweak=True, ddtweak_p=[0.0, 1.0, 2.5, True, 0.3, 0.6, 0.7, 0.5, "300:360|0.4,0.1"], sc_threshold=0.01)
from vsdeoldify import HAVC_deepex
clip = HAVC_deepex(clip=clip, clip_ref=clipRef, ref_merge=0, dark="True", smooth=True, sc_framedir="D:/PProjects/vs-deoldify_dev/TestPreset/Test10")

for some reason is filled the parameter "sc_framedir" even if in the GUI the directory box is empty.

Dan


Attached Files Thumbnail(s)
   
Reply
Quote:for some reason is filled the parameter "sc_framedir" even if in the GUI the directory box is empty.
Hybrid does set the default temp folder if sc_framedir/ScFrameDir is empty.

I:
  • removed the 0.01 minimum adjustment for sc_threshold
  • only add sc_threshold, sc_min_freq when DeepEx is used (sc_threshold is now disabled unless DeepEx is enabled, and sc_min_freq is disabled unless DeepEx is used and DeepExMethod == 0
  • ScFrameDir and sc_framedir will not be set if they are empty.
(updated deoldify test download)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Since vsrealesrgan 5.0.0 is released and R68 compatible, I'll drop the R65 torch-addon.
(never got feedbackt regarding vsanimesr and vsgmfss-fortuna, so it's no problem that they are still R68 incompatible)

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Good news! Smile 

Dan
Reply


Forum Jump:


Users browsing this thread: 7 Guest(s)