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

demo | qt.qpa.xcb: could not connect to display #122

Open
freshn opened this issue Nov 25, 2020 · 1 comment
Open

demo | qt.qpa.xcb: could not connect to display #122

freshn opened this issue Nov 25, 2020 · 1 comment

Comments

@freshn
Copy link

freshn commented Nov 25, 2020

@qijiezhao When I run python demo.py -c=configs/m2det512_vgg.py -m=weights/m2det512_vgg.pth --show, I got an error relating to Qt.
image

From my perspective, the error message suggests that the Qt platform plugin is found but still cannot be loaded. That is what bothers me most. The 'cv2' in the directory shown in the image is actually the opencv-python package. I try from a Ubuntu18.04 and a Centos7. On both, I get the same bug. By the way, I can run the evaluation code perfectly. Does anyone experience the same situation as me?

@freshn
Copy link
Author

freshn commented Nov 25, 2020

I fix it. My issue is actually due to the version of opencv-python. The opencv-python 4.1.025 works perfectly for me.

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

1 participant