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.

DeepEnhancer
#14
Installing looseversion
python -m pip install looseversion
and changing "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\archs\arch_util.py", line 6, from
from distutils.version import LooseVersion
seems to fix the above problem.
But now calling:
SET CUDA_VISIBLE_DEVICES=0 python Lib\site-packages\DeepEnhancer\test_demo.py
doesn't output anything.
Removing 'SET CUDA_VISIBLE_DEVICES=0' does seem to start, but stops after:
Traceback (most recent call last):
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\DeepEnhancer\test_demo.py", line 14, in <module>
    from basicsr.data.film_dataset import resize_240_short_side
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\__init__.py", line 4, in <module>
    from .data import *
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\data\__init__.py", line 22, in <module>
    _dataset_modules = [importlib.import_module(f'basicsr.data.{file_name}') for file_name in dataset_filenames]
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 90, in import_module
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\data\realesrgan_dataset.py", line 11, in <module>
    from basicsr.data.degradations import circular_lowpass_kernel, random_mixed_kernels
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\data\degradations.py", line 8, in <module>
    from torchvision.transforms.functional_tensor import rgb_to_grayscale
ModuleNotFoundError: No module named 'torchvision.transforms.functional_tensor'

The torchvision.transforms.functional_tensor module was removed in 0.17.
Current dev torch-add-on uses:
torchvision                 0.22.0.dev20250325+cu128

=> Not looking into this further.

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


Messages In This Thread
DeepEnhancer - by djilayeden - 04.04.2025, 00:52
RE: Deoldify Vapoursynth filter - by Selur - 04.04.2025, 04:13
RE: Deoldify Vapoursynth filter - by Selur - 04.04.2025, 13:57
RE: Deoldify Vapoursynth filter - by safshe - 04.04.2025, 16:17
RE: Deoldify Vapoursynth filter - by Dan64 - 04.04.2025, 18:41
RE: DeepEnhancer - by Selur - 04.04.2025, 19:30
RE: DeepEnhancer - by djilayeden - 04.04.2025, 21:08
RE: DeepEnhancer - by zspeciman - 04.04.2025, 21:32
RE: DeepEnhancer - by Selur - 04.04.2025, 22:15
RE: DeepEnhancer - by Selur - 05.04.2025, 10:11
RE: DeepEnhancer - by Dan64 - 05.04.2025, 10:41
RE: DeepEnhancer - by Selur - 05.04.2025, 11:07
RE: DeepEnhancer - by djilayeden - 05.04.2025, 14:09
RE: DeepEnhancer - by zspeciman - 05.04.2025, 14:35
RE: DeepEnhancer - by Selur - 05.04.2025, 14:52
RE: DeepEnhancer - by djilayeden - 05.04.2025, 15:28
RE: DeepEnhancer - by Selur - 05.04.2025, 17:08
RE: DeepEnhancer - by zspeciman - 05.04.2025, 17:26
RE: DeepEnhancer - by Selur - 05.04.2025, 17:34
RE: DeepEnhancer - by djilayeden - 05.04.2025, 18:39
RE: DeepEnhancer - by Dan64 - 06.04.2025, 11:39
RE: DeepEnhancer - by Selur - 06.04.2025, 13:02
RE: DeepEnhancer - by Dan64 - 06.04.2025, 13:28
RE: DeepEnhancer - by Selur - 06.04.2025, 13:45
RE: DeepEnhancer - by Selur - 06.04.2025, 15:58
RE: DeepEnhancer - by Dan64 - 06.04.2025, 20:09
RE: DeepEnhancer - by Selur - 06.04.2025, 20:12
RE: DeepEnhancer - by Dan64 - 06.04.2025, 20:20
RE: DeepEnhancer - by Selur - 06.04.2025, 20:43
RE: DeepEnhancer - by Selur - 06.04.2025, 21:29
RE: DeepEnhancer - by Dan64 - 06.04.2025, 21:29
RE: DeepEnhancer - by Selur - 06.04.2025, 21:41
RE: DeepEnhancer - by djilayeden - 06.04.2025, 21:44
RE: DeepEnhancer - by Dan64 - 06.04.2025, 21:56
RE: DeepEnhancer - by Selur - 07.04.2025, 05:10
RE: DeepEnhancer - by Selur - 07.04.2025, 16:13
RE: DeepEnhancer - by Dan64 - 10.04.2025, 00:49
RE: DeepEnhancer - by zspeciman - 10.04.2025, 14:42
RE: DeepEnhancer - by Selur - 10.04.2025, 15:18
RE: DeepEnhancer - by djilayeden - 11.04.2025, 15:47
RE: DeepEnhancer - by Selur - 11.04.2025, 20:26
RE: DeepEnhancer - by Dan64 - 12.04.2025, 00:09
RE: DeepEnhancer - by Dan64 - 12.04.2025, 12:36
RE: DeepEnhancer - by Selur - 12.04.2025, 12:43
RE: DeepEnhancer - by djilayeden - 12.04.2025, 13:26
RE: DeepEnhancer - by Dan64 - 12.04.2025, 13:44
RE: DeepEnhancer - by Dan64 - 12.04.2025, 15:24
RE: DeepEnhancer - by Selur - 12.04.2025, 15:47
RE: DeepEnhancer - by djilayeden - 12.04.2025, 15:52
RE: DeepEnhancer - by Selur - 12.04.2025, 15:56
RE: DeepEnhancer - by djilayeden - 12.04.2025, 15:59
RE: DeepEnhancer - by Selur - 12.04.2025, 16:51
RE: DeepEnhancer - by Dan64 - 12.04.2025, 17:16
RE: DeepEnhancer - by Selur - 12.04.2025, 18:03
RE: DeepEnhancer - by Dan64 - 13.04.2025, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)