Skip to content
New issue

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

cannot connect to X server BUG #39

Open
acheng777 opened this issue Sep 1, 2023 · 1 comment
Open

cannot connect to X server BUG #39

acheng777 opened this issue Sep 1, 2023 · 1 comment

Comments

@acheng777
Copy link

root@autodl-container-809011af9e-2908fc6e:~/edgeyolo# python detect.py --weights ./weights/edgeyolo_coco.pth --source test.avi --fp16
2023-09-01 18:00:05.169 | INFO | edgeyolo.models:init:50 - loading models from weight /root/edgeyolo/weights/edgeyolo_coco.pth
Params: 41.23M, Gflops: 126.71
Reparameterizing models...
After re-parameterization: Params: 40.51M, Gflops: 124.70
574.5ms average:574.5ms: cannot connect to X server
以上是我运行代码时出现的问题,博主方便解答一下吗?

@LSH9832
Copy link
Owner

LSH9832 commented Dec 6, 2023

你远程命令行登录的吧,detect.py里面有cv2.imshow,没有图形界面是会报这个错误的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants