If you get a validation error when adding the ML backend URL to your Label Studio project, check the following:
- Is the labeling interface set up with a valid configuration?
- Is the machine learning backend running?
Run the following health check:curl -X GET http://localhost:9090/health
- Is your machine learning backend available from your Label Studio instance? It must be available to the instance running Label Studio.
If you're running Label Studio in Docker, you must run the machine learning backend inside the same Docker container, or otherwise make it available to the Docker container running Label Studio.
You can use the docker exec
command to run commands inside the Docker container, or use docker exec -it <container_id> /bin/sh
to start a shell in the context of the container.
See the docker exec documentation.