CaoWGG/TensorRT-CenterNet

(result:128): Gtk-WARNING **: cannot open display:

Opened this issue · 1 comments

shell: ./runDet -e model/model_best.engine -i smoke1.jpg -c smoke1.h264
wrong:
(result:128): Gtk-WARNING **: cannot open display:

Are you running this in a container? Make sure you do the following: sudo xhost + then export DISPLAY=:x (you didn't show all the error message). you will also need to install gtk modules.. : apt install libcanberra-gtk-module libcanberra-gtk3-module