You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently installed SAM 2 video backend using docker but it does not do any work. When I click on label after creating bounding box on video, it shows loading icon right next to "Auto Label" toggle. and I see this log in docker terminal:
However it doesn't do anything after that. The docker container isn't frozen, it responds to blank enter press and whatnot. I can also send another request which also ends up not doing anything.
After a while the loading icon disappears on the webapp and no operation is applied to initial bounding box.
Is it because I used SAM 2.1? This is my docker-compose.yml file. I only changed model config and model name:
version: "3.8"services:
segment_anything_2_video:
container_name: segment_anything_2_videoimage: humansignal/segment_anything_2_video:v0build:
context: .args:
TEST_ENV: ${TEST_ENV}environment:
# specify these parameters if you want to use basic auth for the model server
- BASIC_AUTH_USER=
- BASIC_AUTH_PASS=# set the log level for the model server
- LOG_LEVEL=DEBUG# any other parameters that you want to pass to the model server
- ANY=PARAMETER# specify the number of workers and threads for the model server
- WORKERS=1
- THREADS=8# specify the model directory (likely you don't need to change this)
- MODEL_DIR=/data/models# specify device
- DEVICE=cuda # or 'cpu' (coming soon)# SAM2 model config
- MODEL_CONFIG=configs/sam2.1/sam2.1_hiera_l.yaml# SAM2 checkpoint
- MODEL_CHECKPOINT=sam2.1_hiera_large.pt# Specify the Label Studio URL and API key to access# uploaded, local storage and cloud storage files.# Do not use 'localhost' as it does not work within Docker containers.# Use prefix 'http://' or 'https://' for the URL always.# Determine the actual IP using 'ifconfig' (Linux/Mac) or 'ipconfig' (Windows).
- LABEL_STUDIO_URL=//something secret
- LABEL_STUDIO_API_KEY=//something secret2ports:
- "9090:9090"volumes:
- "./data/server:/data"deploy:
resources:
reservations:
devices:
- driver: nvidiacount: 1capabilities: [gpu]
The text was updated successfully, but these errors were encountered:
I recently installed SAM 2 video backend using docker but it does not do any work. When I click on label after creating bounding box on video, it shows loading icon right next to "Auto Label" toggle. and I see this log in docker terminal:
However it doesn't do anything after that. The docker container isn't frozen, it responds to blank enter press and whatnot. I can also send another request which also ends up not doing anything.
After a while the loading icon disappears on the webapp and no operation is applied to initial bounding box.
Is it because I used SAM 2.1? This is my docker-compose.yml file. I only changed model config and model name:
The text was updated successfully, but these errors were encountered: