Selur's Little Message Board

Full Version: dlib 19.24.99 with CUDA
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Please try to reinstall the provided wheel.
You can try to rename or delete the file _dlib_pybind11.py.
Then try to do an "import dlib" in python to see the problem is solved.

Dan
Quote:Please try to reinstall the provided wheel.
Code:
python -m pip install dlib-19.24.99-cp312-cp312-win_amd64.whl --force
Processing f:\hybrid\64bit\vapoursynth\dlib-19.24.99-cp312-cp312-win_amd64.whl
Installing collected packages: dlib
  Attempting uninstall: dlib
    Found existing installation: dlib 19.24.99
    Uninstalling dlib-19.24.99:
      Successfully uninstalled dlib-19.24.99
Successfully installed dlib-19.24.99

Quote:You can try to rename or delete the file _dlib_pybind11.py.
Code:
F:\Hybrid\64bit\Vapoursynth\Lib\site-packages>ren _dlib_pybind11.py _dlib_pybind11.bak
Quote:Then try to do an "import dlib" in python to see the problem is solved.
Code:
F:\Hybrid\64bit\Vapoursynth>python
Python 3.12.3 (tags/v3.12.3:f6650f9, Apr  9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32
>>> import dlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "F:\Hybrid\64bit\Vapoursynth\Lib\site-packages\dlib\__init__.py", line 20, in <module>
    from _dlib_pybind11 import *
ImportError: DLL load failed while importing _dlib_pybind11: Das angegebene Modul wurde nicht gefunden.
=> not fixed

Cu Selur
Hello Selur,

  try this version of dlib for python 3.12, built using CUDA 12.1 and cuDNN 8.9.7

Dan

P.S.
Remove any version before install the the attached wheel.
I changed the version number, to have more room to release other builds.
After the install clear the cache: dlib\__pycache__\__init__.cpython-312.pyc
That version seems to work with codeformer. Smile
Pages: 1 2