label-studio-ml-backend icon indicating copy to clipboard operation
label-studio-ml-backend copied to clipboard

Unable to connect SAM model with label studio

Open vijay2712 opened this issue 2 years ago • 1 comments

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

vijay2712 avatar Aug 07 '23 11:08 vijay2712

some problems

DimIsaev avatar Sep 18 '23 15:09 DimIsaev