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

Could someone explain me why after following the steps to install SAM in CVAT the AI tools does not appear in the toolbar? Is it a bug or I have deployed something worng? #7037

Closed
2 tasks done
frl93 opened this issue Oct 22, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@frl93
Copy link

frl93 commented Oct 22, 2023

Actions before raising this issue

  • I searched the existing issues and did not find anything similar.
  • I read/searched the docs

Steps to Reproduce

  1. Follow the process described in the webpage on install SAM in CVAT with GPU.
    image

  2. Check that I have the nuclio function depolyed "ready" for its use by doing "nuctl get functions"
    image

  3. Check by doing docker ps, that it is also in the docker desktop properly installed.
    image

  4. Therefore, I supposed that all the steps have been properly followed and AI tools must apprear in the CVAT tool.

Expected Behavior

However, when I open the cvat application in localhost:8080 the AI tools option does not appear.
image

Possible Solution

No response

Context

If someone can explain me how to solve the issue please let me know. I need the tool for doing segment annotation quicly. Thank you so much for your time .

Environment

-Docker version docker version (e.g. Docker 17.0.05):
The current version is Docker Desktop (Docker version 24.0.2, build cb74dfc).

-Are you using Docker Swarm or Kubernetes?
No.

-Operating System and version (e.g. Linux, Windows, MacOS):
system:windows 10 pro
Ubuntu 18.04.6 LTS
GIT :git version 2.17.1.windows.1
WSL2

Thank you so much for your time.
@frl93 frl93 added the bug Something isn't working label Oct 22, 2023
@bsekachev
Copy link
Member

You deployed functions, but it looks like you didn't install CVAT with serverless module.

docker compose -f docker-compose.yml -f docker-compose.dev.yml -f components/serverless/docker-compose.serverless.yml up -d --build

https://opencv.github.io/cvat/docs/manual/advanced/serverless-tutorial/

@frl93
Copy link
Author

frl93 commented Oct 22, 2023

Thak you very much @bsekachev. Your solution allows AI tools on my CVAT application as you can see in the following image.

image

However, when I start annotating an error appear and no mask is available as you can see in the image.

image

The error is "Interaction error occurred" and it says that "Request failed with status code 503. "HTTPConnectionPool(host='host.docker.internal', port=62395): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa93e017f40>: Failed to establish a new connection: [Errno 111] Connection refused'))"

@bsekachev
Copy link
Member

Try to re-deploy the serverless function.

@frl93
Copy link
Author

frl93 commented Oct 22, 2023

Once again, thank you @bsekachev. The error has disappear but still I am not able to annotate properly.

As you are going to see in the followin images, SAM is able to detect tha appel but it does not label as appel even I put three points on it.

  1. Select apple from AI tools

image

  1. Put first green bullet in an appel.

image

  1. Put the second green bullet in the same apple

image

  1. However the object annotation does not appear in the right part of the CVAT application.

image

Do I need to do something else? I have been examining SAM videos and the object annotation appears alone...

@bsekachev
Copy link
Member

You need to finish drawing process and object will appear.
Press "Done" button in header or key N on your keyboardd

@frl93
Copy link
Author

frl93 commented Oct 22, 2023

Once again thank you for yout help. It works perfect!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants