|
发表于 2022-6-30 11:28:36
|
显示全部楼层
请问报这个错的话是什么原因能?用的是打包exe版本
Traceback (most recent call last):
File "Specific_Face_Capturer-v0.2.py", line 8, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "face_recognition\__init__.py", line 7, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "PyInstaller\loader\pyimod03_importers.py", line 495, in exec_module
File "face_recognition\api.py", line 26, in <module>
RuntimeError: Error while calling cudaGetDevice(&the_device_id) in file C:\Users
\leon\AppData\Local\Temp\pip-install-29iag4mt\dlib_bd739846d0264bb88893f1a970b77
b8c\dlib\cuda\gpu_data.cpp:204. code: 3, reason: initialization error
[11192] Failed to execute script 'Specific_Face_Capturer-v0.2' due to unhandled
exception! |
|