HumanSignal / HumanSignal/label-studio-ml-backend

Unable to connect SAM model with label studio

Open
#308 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.1k
Forks
490
Avg merge
1d 14h
Merged PRs (30d)
3

Description

Validation error

Can't connect to ML backend http://localhost:9090/, health check failed. Make sure it is up and your firewall is properly configured.

I have used below docker_compose file to run the services.

version: "3.8"

services:
redis:
image: redis:alpine
container_name: redis
hostname: redis
volumes:
- "./data/redis:/data"
expose:
- 6379

label_studio:
image: heartexlabs/label-studio:1.8.1
container_name: label_studio
ports:
- 8082:8080
volumes:
- "./data/mydata:/data"
networks:
- label_server_net # Connect to the custom network

server:
container_name: server
build: .
environment:
- MODEL_DIR=/data/models
- RQ_QUEUE_NAME=default
- REDIS_HOST=redis
- REDIS_PORT=6379
- LABEL_STUDIO_USE_REDIS=true
- TEST_WITH_CPU=${TEST_WITH_CPU}
ports:
- 9090:9090
depends_on:
- redis
volumes:
- "./data/server:/data"
- "./logs:/tmp"
networks:
- label_server_net # Connect to the custom network

volumes:
mydata:

networks:
label_server_net: # Define the custom network

please help to resolve the issue

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.