Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server and client on same machine #1

Open
navalchand opened this issue Aug 7, 2019 · 8 comments
Open

Server and client on same machine #1

navalchand opened this issue Aug 7, 2019 · 8 comments

Comments

@navalchand
Copy link

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

@selingok033
Copy link

@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.

@navalchand
Copy link
Author

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.

@starkgate
Copy link

starkgate commented Jul 22, 2020

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.

@alemelis
Copy link

alemelis commented Nov 4, 2020

@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?

@starkgate
Copy link

starkgate commented Nov 5, 2020

@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

@alemelis
Copy link

alemelis commented Nov 5, 2020

@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

?

@starkgate
Copy link

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.

@nguyenminhanh301098
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants