UltimateLabeling icon indicating copy to clipboard operation
UltimateLabeling copied to clipboard

Server and client on same machine

Open navalchand opened this issue 6 years ago • 8 comments

Hey, How can i run the UltimateLabeling.

I have tried to install both cline and the server-side, but still unable to make it up and running. Can you please help on setup, if possible how to host both client and server-side on the same machine.

Thanks in advance

navalchand avatar Aug 07 '19 07:08 navalchand

@navalchand Can you achieve setup? I have tried to install both cline and server-s,de on the same machine but I haven't any idea about run them. How did your get the SSH login information (Host IP, username and password)?

Thanks for your help.

selingok033 avatar Jun 09 '20 20:06 selingok033

Hi @selingok033, I have given a couple of tries. So we finally decided to use CVAT, we have made a few changes to add server-side inference for interpolation. Feel free to reach out to me if you need any further assistance.

navalchand avatar Jun 11 '20 16:06 navalchand

You can ssh into your own machine with ssh localhost. Make sure you have the openssh-server package installed. UltimateLabeling_server needs to be in your user's home folder.

starkgate avatar Jul 22 '20 09:07 starkgate

@starkgate I'm using your fork but when I click on Run on frame (either yolo or openpifpaf) I get the following error

$ python -m ultimatelabeling.main
Detection server started...
[2020-11-04 11:44:33,756-rk0-load_helper.py# 31] load pretrained model from res/SiamMask_VOT.pth
[2020-11-04 11:44:35,633-rk0-load_helper.py# 25] remove prefix 'module.'
[2020-11-04 11:44:35,634-rk0-load_helper.py# 18] used keys:356
Connecting to detector socket:  localhost 8786
Traceback (most recent call last):
  File "/home/alessandro/UltimateLabeling/ultimatelabeling/views/detection_manager.py", line 124, in run
    self.detector.init()
  File "/home/alessandro/UltimateLabeling/ultimatelabeling/models/detector.py", line 37, in init
    self.client_socket.connect((self.HOST, self.PORT))
ConnectionRefusedError: [Errno 111] Connection refused
Aborted (core dumped)

is there any additional config parameter to set?

alemelis avatar Nov 04 '20 11:11 alemelis

@alemelis Hi, I can see two possible causes for this:

  • Either the port is already used by another app (use sudo netstat -tulpn to check)
  • Or you have some kind of firewall that blocks sockets

starkgate avatar Nov 05 '20 11:11 starkgate

@starkgate thanks a lot for the reply

it doesn't seem to be the case; the port is not listed by netstat and

sudo ufw allow 8786

yields the same error

is there any other step apart from starting the venv and launching the tool as

python -m ultimatelabeling.main

?

alemelis avatar Nov 05 '20 16:11 alemelis

There shouldn't be. Not that I remember at least. You could try using Pycharm to debug the specific line and see what is going on. I remember the error messages for sockets are pretty cryptic. Connection refused could be anything.

starkgate avatar Nov 05 '20 16:11 starkgate

Can someone give me documentation about UltimateLabeling Tool? thank you so much

nguyenminhanh301098 avatar Nov 16 '20 17:11 nguyenminhanh301098