|
发表于 2023-4-10 13:26:56
|
显示全部楼层
可以运行了,但是在游戏里面没效果,错误提示如下:楼主有时间看一下吗?
YOLOv5 2022-10-4 Python-3.9.13 torch-1.13.0+cpu CPU
Fusing layers...
YOLOv5n summary: 213 layers, 1761871 parameters, 0 gradients
请输入横向分辨率1600
请输入纵向分辨率900
Traceback (most recent call last):
File "D:\AI\启动器\ai\main.py", line 201, in <module>
x = cv2.getTrackbarPos('X',f'{mc}')
cv2.error: OpenCV(4.5.5) D:\a\opencv-python\opencv-python\opencv\modules\highgui\src\window_w32.cpp:2581: error: (-27:Null pointer) NULL window: '['3', 'k', 'a', 'x', 'f', 'g', 'r', 'i', 'l', '9', '7', 'w', 'v', 'm', '6', 'c', 'e', 'u', 'z']' in function 'cvGetTrackbarPos' |
|