cvat: Interaction error occurred using SAM

My actions before raising this issue

  • Read/searched the docs
  • Searched past issues

Steps to Reproduce (for bugs)

  1. followed this guide to install CVAT
  2. deployed SAM using this command: cd serverless && ./deploy_cpu.sh pytorch/facebookresearch/sam/nuclio/

Expected Behaviour

I expected that use SAM properly.

Current Behaviour

after I go to localhost:8080 and try to annotate my images with Segment Anything after this message Waiting a response from Segment Anything.. I get this error:

photo_2023-06-11_17-15-35

Context

I’m trying to annotate my images using SAM. I installed CVAT and deploy SAM using docker and it worked without any error. when I started to annotate I got that error and have no clue what to do.

Your Environment

  • Ubuntu 20.04 and the latest version of Google Chrome.
  • Docker version: Docker Desktop 4.19.0

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 1
  • Comments: 15 (5 by maintainers)

Most upvoted comments

@davodogster I guess this command line sets the maximum RAM usage:

sudo docker run -it --memory="[memory_limit]" [docker_image]

The value of memory_limit should be a positive integer followed by the suffix b, k, m, or g for example --memory="12g"

@descilla @aligh97 We are also receiving this error on our self hosted GPU Ubuntu segment-anything model.

image

For some of our tasks the SAM interactor works fine, and some others it doesn’t. Do you know why?