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
#13
Problem: Can't get it working in Hybrids portable Python 3.12 environment.
Inside the Vapoursynth folder, I called:
git clone https://github.com/jiangqin567/DeepEnhancer.git
then, I extracted pretrained_models.zip into the folder DeepEnhancer folder.
Since the side didn't mention and dependencies I called:
SET CUDA_VISIBLE_DEVICES=0 python Lib\site-packages\DeepEnhancer\test_demo.py
which returned:
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
ModuleNotFoundError: No module named 'basicsr'
So I installed it ('python -m pip install basicvsr'), called the test_demoy.py again, and got
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 3, in <module>
    from .archs import *
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\archs\__init__.py", line 16, in <module>
    _arch_modules = [importlib.import_module(f'basicsr.archs.{file_name}') for file_name in arch_filenames]
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "importlib\__init__.py", line 90, in import_module
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\archs\basicvsrpp_arch.py", line 7, in <module>
    from basicsr.archs.arch_util import flow_warp
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\basicsr\archs\arch_util.py", line 6, in <module>
    from distutils.version import LooseVersion
ModuleNotFoundError: No module named 'distutils'
which is a problem since distutils was removed in Python 3.12 which is required for Vapoursynth R70 (upcoming R71 will require 3.13).
(see: https://docs.python.org/3/library/distutils.html)

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)