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 - 27.09.2025

uploaded a new test version


RE: Deoldify Vapoursynth filter - Dan64 - 27.09.2025

This dev version is Ok.

There are some filter combinations which are not compatible with this method.

When I will complete the tests I will provide you the exclusion list for this method.   

Thanks,
Dan


RE: Deoldify Vapoursynth filter - Selur - 27.09.2025

ok


RE: Deoldify Vapoursynth filter - Dan64 - 28.09.2025

Hello Selur,

   this new method provides more stability, but is quiet slow, on my RTX 5070ti I get an average speed of 4.5fps.
   I will keep it, but I will suggest to using it only on high end GPU.
   Unfortunately on AI models the GPU power has a significant impact on the performance.

   Regarding the compatibility, when ColorTemp is not "none" the "Exemplar Models" check box must be unchecked and disabled.
   The "Exemplar Models" check box can be enabled if  ColorTemp is set to "none".
   I tried to use this new method with "Exemplar Models", but apart the speed that decrease to 1.65fps the are random errors, so I prefer to disable  "Exemplar Models" when ColorTemp is enabled.

    I was able to fix the problem by allocating the Colormnet class as singleton. To be able to run 2 parallel colormnet process, I had to duplicate the class (but not the weights).
    Now the encoding speed with all the models available enabled: deoldify + ddcolor + deepex + colormnet + colorment2 is about 5.9 fps. Really a big improvement !  

   These are the current defaults of the function HAVC_main, please check your list.

Preset:              'Medium', (default)
FrameInterp:          0 (default)
ColorModel:          'Video+Artistic'  (default)
CombMethod:          'Simple' (default)
VideoTune:           'Stable',  (default)
ColorFix:            'Magenta/Violet',   (default)
ColorTune:           'Light',  (default)
ColorMap:            'None', (default)
ColorTemp:           "None" (default)
BlackWhiteTune:      'None' (default)
BlackWhiteMode:       0 : Apply Contrast Limited Adaptive Histogram Equalization on Luma (default)
BlackWhiteBlend:      True (default)
EnableDeepEx:         False (default)
DeepExMethod:         0 = HAVC same as video (default)
DeepExPreset:         'Medium' (colors are a little washed out) (default)
DeepExRefMerge:       0 = No RF merge (reference frames can be produced with any frequency) (default)
DeepExOnlyRefFrames:  False (default)
DeepExModel:          0 : ColorMNet (default)
DeepExVivid:          True (default)
DeepExEncMode:        0: remote encoding (default)
DeepExMaxMemFrames:   0 (default)
ScFrameDir:           None (default)
ScThreshold:          0.10 (default)
ScThtOffset:          1 (default)
ScMinInt:             1 (default)
ScMinFreq:            0 (default)
ScThtSSIM:            0.0 (default, deactivated)
ScNormalize:          False (default)
RefRange:             (0, 0) (default)
enable_fp16:          True (default)
sc_debug:             False (default)

  Regarding the GUI I would prefer something more similar to the old one, like this

  [Image: attachment.php?aid=3292]

Thanks,
Dan


RE: Deoldify Vapoursynth filter - Selur - 28.09.2025

Quote: Regarding the compatibility, when ColorTemp is not "none" the "Exemplar Models" check box must be unchecked and disabled.
The "Exemplar Models" check box can be enabled if ColorTemp is set to "none".
I tried to use this new method with "Exemplar Models", but apart the speed that decrease to 1.65fps the are random errors, so I prefer to disable "Exemplar Models" when ColorTemp is enabled.
just when I implemented it,...

Quote: These are the current defaults of the function HAVC_main, please check your list.
this will take a while,...


RE: Deoldify Vapoursynth filter - Dan64 - 28.09.2025

(28.09.2025, 13:17)Selur Wrote:
Quote:  Regarding the compatibility, when ColorTemp is not "none" the "Exemplar Models" check box must be unchecked and disabled.
  The "Exemplar Models" check box can be enabled if  ColorTemp is set to "none".
  I tried to use this new method with "Exemplar Models", but apart the speed that decrease to 1.65fps the are random errors, so I prefer to disable  "Exemplar Models" when ColorTemp is enabled.
just when I implemented it,...

Sorry for this, I didn't expect to find a solution, but I finally did.  Angel

[Image: attachment.php?aid=3293]

Please look also to my suggestion on GUI widgets arrangement.

Thanks,
Dan


RE: Deoldify Vapoursynth filter - Selur - 28.09.2025

Aside from
RefRange:             (0, 0) (default)
sc_debug:             False (default)
which are not supported in Hybrid, I adjusted the defaults, and removed the added restrictions based on ColorTemp.
=> uploaded new test version

Cu Selur


RE: Deoldify Vapoursynth filter - Dan64 - 28.09.2025

The new dev. version has a small bug.

At startup, once HAVC is enable "B&W mode" and "B&W blend" are grey-out. 

[Image: attachment.php?aid=3294]

It is enough to change value to "B&W tune" and they are enabled again.


Dan

P.S.
Attached the new RC2


RE: Deoldify Vapoursynth filter - Selur - 28.09.2025

Quote: At startup, once HAVC is enable "B&W mode" and "B&W blend" are grey-out.
Strange,.. that is not the case here.
[Image: grafik.png]

Might be a wrong initialization.
=> Yes, changing the default for BWTune requires the initial state to change,...
uploaded a new test version

Cu Selur


RE: Deoldify Vapoursynth filter - Dan64 - 28.09.2025

Problem fixed with the last dev version.

Thanks,
Dan