I have been trying to run the demo file for yolo4_tiny and I get the following OpenCV error:
Unable to init server: Could not connect: Connection refused terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.3-pre) /root/opencv/modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem'
I have seen online that I might be an issue of X11 forwarding and trying with the -X flag for ssh to the VM might solve it, but it still does not work. Anyone has an idea of what it might be the issue? Thanks!
I have been trying to run the demo file for yolo4_tiny and I get the following OpenCV error:
Unable to init server: Could not connect: Connection refused terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.5.3-pre) /root/opencv/modules/highgui/src/window_gtk.cpp:635: error: (-2:Unspecified error) Can't initialize GTK backend in function 'cvInitSystem'
I have seen online that I might be an issue of X11 forwarding and trying with the -X flag for ssh to the VM might solve it, but it still does not work. Anyone has an idea of what it might be the issue? Thanks!