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
For which python version do you need the build of spatial_correlation_sampler-0.5.0  ?

Dan
Reply
Thanks. (Python 3.12)
But, gorget it for the moment, still trying some other stuff. Big Grin
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Can you please build a cp312 version compatible with
torch                    2.7.1+cu126
torch_tensorrt           2.7.0+cu126
torchvision              0.22.1+cu126
since HolyWus stuff doesn't require the latest versions any more, and Vapoursynth 72 works with cp12+ I wanted to try to lower the versions used in the torch addon. Smile
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Try the attached version: spatial_correlation_sampler-0.5.0-py312-cp312-win_amd64_torch-2.7.1+cu126.whl.zip

The files in the zip archive need to be extracted in the directory (no way to install it with pip): .\Hybrid\64bit\Vapoursynth\Lib\site-packages

Dan


Attached Files
.zip   spatial_correlation_sampler-0.5.0-py312-cp312-win_amd64_torch-2.7.1+cu126.whl.zip (Size: 184,14 KB / Downloads: 48)
Reply
That seems to work.
Thanks!

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Hi Selur, I've updated Hybrid to 2025.07.16-19404 and VapoursynthR72-torch_2025.07.12 from the 2025.5.21 version and the colorization preview doesn't work.  This is the error message under preview.  I hope you can solve it.  Thank you.


2025-07-17 17:44:13.917
Version mismatch: The VapourSynth Python module version is R72 but the VapourSynth core library is R68. This usually indicates a broken install.
Version mismatch: The VapourSynth Python module version is R72 but the VapourSynth core library is R68. This usually indicates a broken install.
2025-07-17 17:44:17.784
D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\fastai\imports\core.py:29: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools import pkg_resources

D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\fastai\imports\core.py:29: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools import pkg_resources

2025-07-17 17:44:18.838
Failed to evaluate the script:
Python exception: [Errno 2] No such file or directory: 'D:\\Hybrid\\64bit\\Vapoursynth\\Lib\\site-packages\\vsdeoldify\\deepex\\models\\..\\data\\vgg19_gray.pth'

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 3378, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 3379, in vapoursynth._vpy_evaluate
File "D:\HybridTempPath\tempPreviewVapoursynthFile17_44_13_578.vpy", line 14, in
import vsdeoldify as havc
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\__init__.py", line 43, in
from vsdeoldify.vsslib.mcomb import *
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\vsslib\mcomb.py", line 24, in
from .vsmodels import *
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\vsslib\vsmodels.py", line 25, in
from vsdeoldify.deepex import deepex_colorizer, ModelColorizer
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\deepex\__init__.py", line 29, in
from vsdeoldify.deepex.models.NonlocalNet import VGG19_pytorch, WarpNet
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\deepex\models\NonlocalNet.py", line 9, in
from .vgg19_gray import vgg19_gray, vgg19_gray_new
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\deepex\models\vgg19_gray.py", line 130, in
model.load_state_dict(torch.load(vgg19_gray_path, weights_only=False))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch\serialization.py", line 1479, in load
with _open_file_like(f, "rb") as opened_file:
^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch\serialization.py", line 759, in _open_file_like
return _open_file(name_or_buffer, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\torch\serialization.py", line 740, in __init__
super().__init__(open(name, mode))
^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'D:\\Hybrid\\64bit\\Vapoursynth\\Lib\\site-packages\\vsdeoldify\\deepex\\models\\..\\data\\vgg19_gray.pth'
Reply
Seems like i missed adding some model. Will look at it after work today.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Yes, I forgot to place vgg19_gray.pth and vgg19_conv.pth under Vapoursynth\Lib\site-packages\vsdeoldify\deepex\data Angel
=> will upload a new torch add-on in ~1 hour. Smile
(upload of VapoursynthR72_torch_2025.07.18 is finished)
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
Thank you Selur, all seem to work again, except when I enable Exemplar Models it give me this error on preview:

2025-07-18 07:54:13.304
Version mismatch: The VapourSynth Python module version is R72 but the VapourSynth core library is R68. This usually indicates a broken install.
Version mismatch: The VapourSynth Python module version is R72 but the VapourSynth core library is R68. This usually indicates a broken install.
2025-07-18 07:54:19.891
D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\fastai\imports\core.py:29: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools import pkg_resources

D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\fastai\imports\core.py:29: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools import pkg_resources

2025-07-18 07:54:35.054
Failed to evaluate the script:
Python exception: Failed to initialize ColorMNet[remote] try ColorMNet[local]

Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 3378, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 3379, in vapoursynth._vpy_evaluate
File "D:\HybridTempPath\tempPreviewVapoursynthFile07_54_12_928.vpy", line 42, in
clip = havc.HAVC_main(clip=clip, VideoTune="veryvivid", ColorFix="none", ColorTune="none", EnableDeepEx=True, DeepExMethod=0, DeepExRefMerge=1, ScFrameDir=None, DeepExModel=0, DeepExEncMode=0, DeepExMaxMemFrames=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\__init__.py", line 328, in HAVC_main
clip_colored = HAVC_deepex(clip=clip, clip_ref=clip_ref, method=DeepExMethod, render_speed=DeepExPreset,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\__init__.py", line 755, in HAVC_deepex
clip_colored = vs_colormnet(clip, clip_ref, clip_sc, image_size=-1, enable_resize=enable_resize,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\vsslib\vsmodels.py", line 49, in vs_colormnet
return vs_colormnet_remote(clip, clip_ref, clip_sc, image_size, enable_resize, frame_propagate,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\colormnet\__init__.py", line 166, in vs_colormnet_remote
HAVC_LogMessage(MessageType.EXCEPTION, "Failed to initialize ColorMNet[remote] try ColorMNet[local]")
File "D:\Hybrid\64bit\Vapoursynth\Lib\site-packages\vsdeoldify\vsslib\vsutils.py", line 49, in HAVC_LogMessage
raise vs.Error(message_text)
vapoursynth.Error: Failed to initialize ColorMNet[remote] try ColorMNet[local]
Reply
Version mismatch: The VapourSynth Python module version is R72 but the VapourSynth core library is R68. This usually indicates a broken install.
That seems strange.
Neither the Hybrid dev nor the torch add-on should still have R68 anywhere.
This should only happen if some old Vapoursynth version (or torch add-on) got mixed with a new one,...

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


Forum Jump:


Users browsing this thread: 1 Guest(s)