AlexeyAB / Yolo_mark

GUI for marking bounded boxes of objects in images for training neural network Yolo v3 and v2
https://github.com/AlexeyAB/darknet
The Unlicense
1.8k stars 680 forks source link

./linux_mark.sh Unable to init server #147

Open Pianochicken opened 5 years ago

Pianochicken commented 5 years ago

I run a VM in GCP, and use Docker to create a container with Ubuntu18.04 But I've encountered ./linux_mark.sh error as below. Hoping to solve this problem, thks!

root@9a3ecbadbd4c:/workspace/darknet/Yolo_mark# cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/darknet/Yolo_mark
root@9a3ecbadbd4c:/workspace/darknet/Yolo_mark# make
[100%] Built target yolo_mark
root@9a3ecbadbd4c:/workspace/darknet/Yolo_mark# ./linux_mark.sh
Example how to start marking bouded boxes for training set Yolo v2
File opened for output: x64/Release/data/train.txt
File loaded: x64/Release/data/obj.names
Unable to init server: Could not connect: Connection refused

(Marking images:6509): Gtk-WARNING **: 11:23:05.625: cannot open display: :1
./linux_mark.sh: line 7: pause: command not found
root@9a3ecbadbd4c:/workspace/darknet/Yolo_mark#

image

zuoxiaozhen commented 4 years ago

I have the same error while using windows 10 WSL

cloudy-sfu commented 4 years ago

I have the same error while using ubuntu 18.04 LTS