When I run "dataset_visuallization.py", the error is :
qt.qpa.xcb: could not connect to display xx.xxx.xxx.xxx:0.0 ( xx.xxx.xxx.xxx is my ip)
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/ma-user/anaconda3/envs/openmmlab/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc.
Hello @yan811
Your error is not related to our code but rather to some Linux/Display/QA configuration.
I see that some people solved this error by using export DISPLAY=:0.0, maybe you should try this.
When I run "dataset_visuallization.py", the error is :
qt.qpa.xcb: could not connect to display xx.xxx.xxx.xxx:0.0 ( xx.xxx.xxx.xxx is my ip) qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "/home/ma-user/anaconda3/envs/openmmlab/lib/python3.7/site-packages/cv2/qt/plugins" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb, eglfs, minimal, minimalegl, offscreen, vnc.
Aborted
How can I solve it?