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
Finally released HAVC 5.0

The main changes introduced are:
  • Added new exemplar-based model: DeepRemaster
  • Added new functionality to use external colored movies as reference image source
  • Added new functionality to restore old colored movies with DeepRemaster
  • Added new APIs supporting the new functionalities
  • Updated the User Guide with the description of the new functionalities and more examples
  • Added the folder samples with some clips and reference images that can be used to test the filter.

For the users that already known this filter could be interesting read the new chapter:
  • 4.3 - Using HAVC to restore old colored videos

In the User Guide there is an explanation of the new interface

[Image: attachment.php?aid=2988]

Dan


Attached Files Thumbnail(s)
   
Reply
Updated Hybrid_deoldify, it should now disable and exclude the parameters.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
When at the start, I check HAVC I get the following settings

[Image: attachment.php?aid=2990]
The parameters: Coloring, Color map, Combine and Stabilize are disabled.
When I check "Exemplar Models" they are enabled.

 [Image: attachment.php?aid=2991]

The parameters above "Exemplar Models" must always be enabled when  "Exemplar Models"  is unchecked (disabled).

Moreover the parameters to disable when method in: 3, 4, 5, 6  are:

Preset  -> Speed
ColorModel -> Coloring
CombMethod -> Combine
VideoTune -> Stabilize
ColorFix -> Color tweaks

while is your implementation

"Color map" is disabled while should be enabled
"Speed" and "Color tweaks" are enabled, while should be disabled

Dan


Attached Files Thumbnail(s)
       
Reply
Uploaded a new Hybrid_deoldify.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Dear Dan,
Thank you for updating the User Guide with the description of the new functionalities and additional examples. Your effort in making the documentation clear and comprehensive is greatly appreciated!
Best regards,
Reply

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\__init__.py", line 344, in HAVC_main
clip_colored = HAVC_DeepRemaster(clip, render_vivid=DeepExVivid, ref_dir=ScFrameDir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\__init__.py", line 1198, in HAVC_DeepRemaster
return vs_remaster_colorize(clip, length, render_vivid, ref_dir, ref_minedge,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\remaster\__init__.py", line 251, in vs_remaster_colorize
engine = RemasterEngine(device_index=device_index,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\remaster\remaster_render.py", line 333, in __init__
self.model_load(model_dir)
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\remaster\remaster_render.py", line 339, in model_load
state_dict = torch.load(model_path)
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch\serialization.py", line 1432, in load
with _open_file_like(f, "rb") as opened_file:
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch\serialization.py", line 741, in _open_file_like
return _open_file(name_or_buffer, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch\serialization.py", line 722, in __init__
super().__init__(open(name, mode))
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files\\Hybrid\\64bit\\Vapoursynth\\Lib\\site-packages\\vsdeoldify\\remaster\\model\\remasternet.pth.tar'
Reply
As explained in: models-download

With the version 5.0 of HAVC has been added the model DeepRemaster, for using it is necessary to download the file remasternet.pth.tar (is not a tar, just a "pth" renamed as "pth.tar") and copy it in: ".\Lib\site-packages\vsdeoldify\remaster\model" (the path shown in the last row of your post).

otherwise you wait for the availability of new torch package in Hybrid with HAVC 5.0 (best option).


Dan
Reply
Will update dev when the Hybrid_deoldify is okay,...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
did you have time to read the post  #1057

Dan
Reply
Yes, did you read my post after that,...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 11 Guest(s)