
heartexlabs/label-studio
Label Studio是一款开源数据标注工具,支持音频、文本、图像、视频和时间序列等多种数据类型标注,提供直观UI界面和多种模型格式导出功能,用于准备机器学习训练数据。
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明
如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。
只需在 AI 对话中先发送下面这句话即可:
请先完整阅读并严格遵守以下文档中的全部规则与要求:
https://xuanyuan.cloud/agents.md
在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
!https://img.shields.io/github/license/heartexlabs/label-studio?logo=heartex !https://github.com/HumanSignal/label-studio/workflows/label-studio:build/badge.svg !https://img.shields.io/github/v/release/heartexlabs/label-studio?include_prereleases
Website • Docs • Join Slack Community
What is Label Studio?
Label Studio is an open source data labeling tool. It lets you label data types like audio, text, images, videos, and time series with a simple and straightforward UI and export to various model formats. It can be used to prepare raw data or improve existing training data to get more accurate ML models.
- Try out Label Studio
- What you get from Label Studio
- Included templates for labeling data in Label Studio
- Set up machine learning models with Label Studio
- Integrate Label Studio with your existing tools
!Gif of Label Studio annotating different types of data
Have a custom dataset? You can customize Label Studio to fit your needs. Read an introductory blog post to learn more.
Try out Label Studio
Install Label Studio locally or deploy it in a cloud instance. Or sign up for a free trial of our Starter Cloud edition! You can learn more about what each edition offers here.
- Install locally with Docker
- Run with Docker Compose (Label Studio + Nginx + PostgreSQL)
- Install locally with pip
- Install locally with poetry
- Install locally with Anaconda
- Install for local development
- Deploy in a cloud instance
Install locally with Docker
Official Label Studio docker image is https://hub.docker.com/r/heartexlabs/label-studio and it can be downloaded with docker pull.
Run Label Studio in a Docker container and access it at http://localhost:8080.
bashdocker pull heartexlabs/label-studio:latest docker run -it -p 8080:8080 -v $(pwd)/mydata:/label-studio/data heartexlabs/label-studio:latest
You can find all the generated assets, including SQLite3 database storage label_studio.sqlite3 and uploaded files, in the ./mydata directory.
Override default Docker install
You can override the default launch command by appending the new arguments:
bashdocker run -it -p 8080:8080 -v $(pwd)/mydata:/label-studio/data heartexlabs/label-studio:latest label-studio --log-level DEBUG
Build a local image with Docker
If you want to build a local image, run:
bashdocker build -t heartexlabs/label-studio:latest .
Run with Docker Compose
Docker Compose script provides production-ready stack consisting of the following components:
- Label Studio
- Nginx - proxy web server used to load various static data, including uploaded audio, images, etc.
- https://www.postgresql.org/ - production-ready database that replaces less performant SQLite3.
To start using the app from http://localhost run this command:
bashdocker-compose up
Run with Docker Compose + MinIO
You can also run it with an additional MinIO server for local S3 storage. This is particularly useful when you want to test the behavior with S3 storage on your local system. To start Label Studio in this way, you need to run the following command:
bash# Add sudo on Linux if you are not a member of the docker group docker compose -f docker-compose.yml -f docker-compose.minio.yml up -d
If you do not have a static IP address, you must create an entry in your hosts file so that both Label Studio and your browser can access the MinIO server. For more detailed instructions, please refer to our guide on storing data.
Install locally with pip
bash# Requires Python >=3.8 pip install label-studio # Start the server at http://localhost:8080 label-studio
Install locally with poetry
bash### install poetry pip install poetry ### set poetry environment poetry new my-label-studio cd my-label-studio poetry add label-studio ### activate poetry environment poetry shell ### Start the server at http://localhost:8080 label-studio
Install locally with Anaconda
bashconda create --name label-studio conda activate label-studio conda install psycopg2 pip install label-studio
Install for local development
You can run the latest Label Studio version locally without installing the package from pypi.
bash# Install all package dependencies pip install poetry poetry install # Run database migrations python label_studio/manage.py migrate python label_studio/manage.py collectstatic # Start the server in development mode at http://localhost:8080 python label_studio/manage.py runserver
Deploy in a cloud instance
You can deploy Label Studio with one click in Heroku, Microsoft Azure, or Google Cloud Platform:
https://www.heroku.com/deploy?template=https://github.com/HumanSignal/label-studio/tree/heroku-persistent-pg https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fhumansignal%2Flabel-studio%2Fdevelop%2Fazuredeploy.json []([***]
Apply frontend changes
For information about updating the frontend, see https://github.com/HumanSignal/label-studio/blob/develop/web/README.md#installation-instructions.
Install dependencies on Windows
To run Label Studio on Windows, download and install the following wheel packages from Gohlke builds to ensure you're using the correct version of Python:
- lxml
bash# Upgrade pip pip install -U pip # If you're running Win64 with Python 3.8, install the packages downloaded from Gohlke: pip install lxml‑4.5.0‑cp38‑cp38‑win_amd64.whl # Install label studio pip install label-studio
Run test suite
To add the tests' dependencies to your local install:
bashpoetry install --with test
Alternatively, it is possible to run the unit tests from a Docker container in which the test dependencies are installed:
bashmake build-testing-image make docker-testing-shell
In either case, to run the unit tests:
bashcd label_studio # sqlite3 DJANGO_DB=sqlite DJANGO_SETTINGS_MODULE=core.settings.label_studio pytest -vv # postgres (assumes default postgres user,db,pass. Will not work in Docker # testing container without additional configuration) DJANGO_DB=default DJANGO_SETTINGS_MODULE=core.settings.label_studio pytest -vv
What you get from Label Studio
https://github.com/user-attachments/assets/525ad5ff-6904-4398-b507-7e8954268d69
- Multi-user labeling sign up and login, when you create an annotation it's tied to your account.
- Multiple projects to work on all your datasets in one instance.
- Streamlined design helps you focus on your task, not how to use the software.
- Configurable label formats let you customize the visual interface to meet your specific labeling needs.
- Support for multiple data types including images, audio, text, HTML, time-series, and video.
- Import from files or from cloud storage in Amazon AWS S3, Google Cloud Storage, or JSON, CSV, TSV, RAR, and ZIP archives.
- Integration with machine learning models so that you can visualize and compare predictions from different models and perform pre-labeling.
- Embed it in your data pipeline REST API makes it easy to make it a part of your pipeline
Included templates for labeling data in Label Studio
Label Studio includes a variety of templates to help you label your data, or you can create your own using specifically designed configuration language. The most common templates and use cases for labeling include the following cases:
Set up machine learning models with Label Studio
Connect your favorite machine learning model using the Label Studio Machine Learning SDK. Follow these steps:
- Start your own machine learning backend server. See https://github.com/HumanSignal/label-studio-ml-backend.
- Connect Label Studio to the server on the model page found in project settings.
This lets you:
- Pre-label your data using model predictions.
- Do online learning and retrain your model while new annotations are being created.
- Do active learning by labeling only the most complex examples in your data.
Integrate Label Studio with your existing tools
You can use Label Studio as an independent part of your machine learning workflow or integrate the frontend or backend into your existing tools.
Ecosystem
| Project | Description |
|---|---|
| label-studio | Server, distributed as a pip package |
| Frontend library | The Label Studio frontend library. This uses React to build the UI and mobx-state-tree for state management. |
| Data Manager library | A library for the Data Manager, our data exploration tool. |
| https://github.com/HumanSignal/label-studio-sdk/tree/master/src/label_studio_sdk/converter | Encode labels in the format of your favorite machine learning library |
| https://github.com/HumanSignal/label-studio-transformers | Transformers library connected and configured for use with Label Studio |
Citation
Include a citation for Label Studio in the References section of your articles:
tex@misc{Label Studio, title={{Label Studio}: Data labeling software}, url={https://github.com/HumanSignal/label-studio}, note={Open source software available from https://github.com/HumanSignal/label-studio}, author={ Maxim Tkachenko and Mikhail Malyuk and Andrey Holmanyuk and Nikolai Liubimov}, year={2020-2025}, }
License
This software is licensed under the Apache 2.0 LICENSE © Heartex. 2020-2025
更多相关 Docker 镜像与资源
以下是 heartexlabs/label-studio 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
- infiniflow/ragflow Docker 镜像说明(RAG 知识库系统)
- langgenius/dify-api Docker 镜像说明(AI 应用开发框架)
Deployment & Usage Documentation
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 label-studio 镜像标签
DockerHub 原生拉取命令
镜像拉取常见问题
功能
错误码
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务