dmMaze / BallonsTranslator

深度学习辅助漫画翻译工具, 支持一键机翻和简单的图像/文本编辑 | Yet another computer-aided comic/manga translation tool powered by deeplearning
GNU General Public License v3.0
2.81k stars 184 forks source link

Could not locate cudnn_ops_infer64_8.dll. #621

Open nazzmohh opened 1 month ago

nazzmohh commented 1 month ago
C:\X\[Goods]\CoL\BallonsTranslator_dev_src_with_gitpython>cd C:\X\[Goods]\CoL\BallonsTranslator_dev_src_with_gitpython\
C:\X\[Goods]\CoL\BallonsTranslator_dev_src_with_gitpython\launch.py:10: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  import pkg_resources
py version:  3.10.11 (tags/v3.10.11:7d4cc5a, Apr  5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
py executable:  C:\X\[Goods]\CoL\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\python.exe
version: 1.4.0
branch: dev
Commit hash: 0e05f8750a5993c38e5a4f648ad3ed5f8e373af7
[INFO   ] launch:main:184 - QT_API: pyqt6, QT Version: 6.6.1
[INFO   ] launch:main:223 - set display language to en_US
[INFO   ] module_manager:on_finish_settranslator:917 - Translator set to google
[INFO   ] module_manager:on_finish_setdetector:896 - Text detector set to ctd
[INFO   ] module_manager:on_finish_setocr:902 - OCR set to mit48px
[INFO   ] module_manager:on_finish_setinpainter:909 - Inpainter set to lama_large_512px
Could not locate cudnn_ops_infer64_8.dll. Please make sure it is in your library path!
Press any key to continue . . .

The file exists, in this path C:\X[Goods]\CoL\BallonsTranslator_dev_src_with_gitpython\ballontrans_pylibs_win\Lib\site-packages\torch\lib

How do I fix this

bropines commented 1 month ago

https://github.com/dmMaze/BallonsTranslator/issues/382 try this.

bropines commented 1 month ago

Basically, put any of these in and that's it. Choose depending on the newness of the video card. 11 for the 10-20 series. 12 For 30-50(?) series https://developer.nvidia.com/cuda-toolkit

https://developer.nvidia.com/cuda-11-8-0-download-archive