HumanSignal / HumanSignal/label-studio-ml-backend

It cannot be automatically calibrated normally due to the wrong LABEL_STUDIO_API_KEY

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

Description

label studio can connect to my model, but when i try to auto-label, the studio has no response.below this the out put of my docker
[2025-12-17 05:19:41,131] [DEBUG] [label_studio_ml.api::log_response_info::193] Response body: b'{"detail":"HTTPError: 401 Client Error: Unauthorized for url: http://172.17.0.1:8080/data/upload/3/c29f36f7-mmexport1633684900217.jpg","request":{},"result":{"traceback":"Traceback (most recent call last):\\n File \\"/opt/conda/lib/python3.10/site-packages/label_studio_ml/exceptions.py\\", line 39, in exception_f\\n return f(*args, **kwargs)\\n File \\"/opt/conda/lib/python3.10/site-packages/label_studio_ml/api.py\\", line 69, in _predict\\n response = model.predict(tasks, context=context, **params)\\n File \\"/app/mmdetection.py\\", line 160, in predict\\n prediction = self.predict_one_task(task)\\n File \\"/app/mmdetection.py\\", line 166, in predict_one_task\\n image_path = get_local_path(image_url, task_id=task.get(\'id\'))\\n File \\"/opt/conda/lib/python3.10/site-packages/label_studio_sdk/_extensions/label_studio_tools/core/utils/io.py\\", line 188, in get_local_path\\n filepath = download_and_cache(\\n File \\"/opt/conda/lib/python3.10/site-packages/label_studio_sdk/_extensions/label_studio_tools/core/utils/io.py\\", line 250, in download_and_cache\\n r.raise_for_status()\\n File \\"/opt/conda/lib/python3.10/site-packages/requests/models.py\\", line 1021, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: http://172.17.0.1:8080/data/upload/3/c29f36f7-mmexport1633684900217.jpg\\n"},"status":500}\n'

this seems my api is wrong ,but i ensure the api is my personal access token.
there are the setting in my .yaml

Image

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.