We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.0b4.dev6
Windows 10
intel(R) core(TM) i9-10900X cpu @3.70GHz
复现步骤/报错截图
(可描述您参考了哪些文档中的步骤,或自己在做哪些操作时遇到了问题,社区维护者可以通过该描述来尽可能复现您的情况) 在打包完成后运行时出现了报错在打包的时候把我的torch有cu113的库给打包成torch没有cu113的,所以在运行的时候出现了报错没有cuda
↓建议在此处粘贴完整Requirements(Python第三方依赖)列表信息↓ Example: absl-py==1.0.0 altgraph==0.17.3 appdirs==1.4.4 asttokens==2.0.5 cachetools==5.0.0 certifi==2022.5.18.1 chardet==4.0.0 charset-normalizer==2.0.12 click==8.1.3 colorama==0.4.4 cycler==0.11.0 Cython==0.29.28 docutils==0.18.1 duckdb==0.7.1 EditorConfig==0.12.3 flatbuffers==2.0 fonttools==4.30.0 future==0.18.2 google-auth==2.6.2 google-auth-oauthlib==0.4.6 graphsurgeon @ file:///D:/TensorRT/TensorRT-8.2.1.8/graphsurgeon/graphsurgeon-0.4.5-py2.py3-none-any.whl grpcio==1.44.0 idna==3.3 importlib-metadata==4.11.3 kiwisolver==1.4.0 Mako==1.2.0 Markdown==3.3.6 MarkupSafe==2.1.1 matplotlib==3.5.1 mil==1.0.5 numpy==1.22.3 nvidia-pyindex==1.0.9 oauthlib==3.2.0 onnx==1.11.0 onnx-graphsurgeon @ file:///D:/TensorRT/TensorRT-8.2.1.8/onnx_graphsurgeon/onnx_graphsurgeon-0.3.12-py2.py3-none-any.whl onnxruntime-gpu==1.11.0 opencv-python==4.5.5.64 packaging==21.3 pandas==1.1.4 pefile==2023.2.7 Pillow==9.0.1 platformdirs==2.5.1 pqt==0.0.2 protobuf==3.19.4 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycocotools==2.0.4 pycuda==2021.1 pyenchant==3.2.2 Pygments==2.11.2 pyinstaller==5.10.1 pyinstaller-hooks-contrib==2023.2 pyparsing==3.0.7 PyQt5==5.15.6 PyQt5-Qt5==5.15.2 PyQt5-sip==12.9.1 PyQtChart==5.15.5 PyQtChart-Qt5==5.15.2 PyQtWebEngine==5.15.5 PyQtWebEngine-Qt5==5.15.2 pyserial==3.5 python-dateutil==2.8.2 pytools==2022.1.2 pytz==2021.3 pywin32==225 pywin32-ctypes==0.2.0 PyYAML==6.0 pyzbar==0.1.9 QPT==1.0b4.dev6 QScintilla==2.13.2 qt5-applications==5.15.1.2.2 requests==2.27.1 requests-oauthlib==1.3.1 rsa==4.8 scipy==1.8.0 seaborn==0.11.0 Send2Trash==1.8.0 six==1.16.0 tensorboard==2.8.0 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.1 win_amd64.whl#sha256=a387cff6fa122e83622b19dc5880805f5690649c2101e8f0a6ce944f8e79611c thop==0.0.31.post2005241907 toml==0.10.2 torch==1.10.0+cu113 torchsummary==1.5.1 torchvision==0.11.0+cu113 tqdm==4.63.0 typing_extensions==4.1.1 uff @ file:///D:/TensorRT/TensorRT-8.2.1.8/uff/uff-0.6.9-py2.py3-none-any.whl urllib3==1.26.9 Werkzeug==2.0.3 wget==3.2 wincertstore==0.2 zipp==3.7.0 ... ↑建议在此处粘贴完整Requirements(Python第三方依赖)列表信息↑
→[2023-05-05 15:35:39,277] [DEBUG] | Active code page: 65001 →[2023-05-05 15:35:39,280] [DEBUG] | 终端命令执行成功! →[2023-05-05 15:35:39,280] [DEBUG] | 正在连接PIPTerminal →[2023-05-05 15:35:39,302] [DEBUG] | 已设置PIP跨版本编译模式,目标解释器路径为:C:\Users\Administrator\Desktop\app\Release\Python\python.exe →[2023-05-05 15:35:39,318] [DEBUG] | SHELL: chcp 65001 →[2023-05-05 15:35:39,373] [DEBUG] | Windows PowerShell →[2023-05-05 15:35:39,373] [DEBUG] | Copyright (C) Microsoft Corporation. All rights reserved. →[2023-05-05 15:35:39,389] [DEBUG] | Try the new cross-platform PowerShell https://aka.ms/pscore6 →[2023-05-05 15:35:39,603] [DEBUG] | PS C:\Users\Administrator\Desktop\app\Release> chcp 65001 ; echo "---QPT OUTPUT STATUS CODE---" $? →[2023-05-05 15:35:39,614] [DEBUG] | Active code page: 65001 →[2023-05-05 15:35:39,617] [DEBUG] | 终端命令执行成功! →[2023-05-05 15:35:39,617] [DEBUG] | 正在连接PTerminal →[2023-05-05 15:35:40,947] [INFO] | 初次使用将会适应本地环境,可能需要几分钟时间,请耐心等待... 初始化进度-05 151/5 |━━━━ | 20.00% AutoPythonEnv部署中...→[2023-05-05 15:35:40,948] [DEBUG] | 正在加载AutoPythonEnv-UnPackPythonEnvOptOP 初始化进度-05 152/5 |━━━━━━━━ | 40.00% QPTDependencyPackage部署中...→[2023-05-05 15:35:40,948] [DEBUG] | 正在加载QPTDependencyPackage-LocalInstallWhlOptOP →[2023-05-05 15:35:40,949] [DEBUG] | 找到该OP状态文件LocalInstallWhlOpt.inactive,故跳过该OP 初始化进度-05 153/5 |━━━━━━━━━━━━ | 60.00% AutoRequirementsPackage部署中...→[2023-05-05 15:35:40,950] [DEBUG] | 正在加载AutoRequirementsPackage-LocalInstallWhlOptOP →[2023-05-05 15:35:40,950] [DEBUG] | 找到该OP状态文件LocalInstallWhlOpt.inactive,故跳过该OP 初始化进度-05 154/5 |━━━━━━━━━━━━━━━━ | 80.00% 初始化完毕→[2023-05-05 15:35:40,951] [INFO] | ----------WARNING SUMMARY →[2023-05-05 15:35:40,951] [INFO] | 0|C:\Users\ADMINI~1\AppData\Local\Temp\QPT_Cache_V/1.0b4.dev6中 ~ 字符会可能影响使 用。 →[2023-05-05 15:35:40,951] [INFO] | 1|当前系统的用户名中包含中文/空格等可能会对程序造成异常的字符,现已默认QPT临时目录 为C:/q_tmp →[2023-05-05 15:35:40,952] [INFO] | ----------ERROR SUMMARY →[2023-05-05 15:35:40,953] [INFO] | ----------生成状态WARNING:2 ERROR:0 →[2023-05-05 15:35:40,954] [DEBUG] | SHELL: cd "C:\Users\Administrator\Desktop\app\Release\resources";./../Python/python.exe "C:\Users\Administrator\Desktop\app\Release\resources\winV2.py" PS C:\Users\Administrator\Desktop\app\Release> cd "C:\Users\Administrator\Desktop\app\Release\resources";./../Python/python.exe "C:\Users\Administrator\Desktop\app\Release\resources\winV2.py" ; echo "---QPT OUTPUT STATUS CODE---" $? 0.25 0.45 1000 0.1 .jpg True D:\DefectDetect\DefectImg\ *** 2023-05-05 0 0 0 白色 白色_2.8mm 2.8 10 29.336111886160715 socket False 380 Process Process-2: Traceback (most recent call last): File "C:\Users\Administrator\Desktop\app\Release\Python\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Users\Administrator\Desktop\app\Release\Python\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Users\Administrator\Desktop\app\Release\resources\detectProV10.py", line 171, in detectPro device = select_device('0') File "C:\Users\Administrator\Desktop\app\Release\resources\utils\torch_utils.py", line 65, in select_device assert torch.cuda.is_available(), f'CUDA unavailable, invalid device {device} requested' # check availability AssertionError: CUDA unavailable, invalid device 0 requested Process Process-1: Traceback (most recent call last): File "C:\Users\Administrator\Desktop\app\Release\Python\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Users\Administrator\Desktop\app\Release\Python\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Users\Administrator\Desktop\app\Release\resources\detectProV10.py", line 171, in detectPro device = select_device('0') File "C:\Users\Administrator\Desktop\app\Release\resources\utils\torch_utils.py", line 65, in select_device assert torch.cuda.is_available(), f'CUDA unavailable, invalid device {device} requested' # check availability AssertionError: CUDA unavailable, invalid device 0 requested Process Process-3: Traceback (most recent call last): File "C:\Users\Administrator\Desktop\app\Release\Python\lib\multiprocessing\process.py", line 315, in _bootstrap self.run() File "C:\Users\Administrator\Desktop\app\Release\Python\lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) File "C:\Users\Administrator\Desktop\app\Release\resources\detectProV10.py", line 171, in detectPro device = select_device('0') File "C:\Users\Administrator\Desktop\app\Release\resources\utils\torch_utils.py", line 65, in select_device assert torch.cuda.is_available(), f'CUDA unavailable, invalid device {device} requested' # check availability AssertionError: CUDA unavailable, invalid device 0 requested
The text was updated successfully, but these errors were encountered:
GT-ZhangAcer
No branches or pull requests
QPT版本
1.0b4.dev6
操作系统版本
Windows 10
CPU型号
intel(R) core(TM) i9-10900X cpu @3.70GHz
核心信息填写
复现步骤/报错截图
步骤描述
(可描述您参考了哪些文档中的步骤,或自己在做哪些操作时遇到了问题,社区维护者可以通过该描述来尽可能复现您的情况)
在打包完成后运行时出现了报错在打包的时候把我的torch有cu113的库给打包成torch没有cu113的,所以在运行的时候出现了报错没有cuda
【如报错则必须提供】Requirements文件内容
【如报错则必须提供】完整打包日志
其他信息
The text was updated successfully, but these errors were encountered: