深圳男生快快乐乐

python 学习中

中文版本的labelStudio数据标注的安装

中文 label studio GitHub链接:
https://github.com/MindAsAI/label-studio-chinese

 源码启动(方便开发人员调试)


# 后端
# 安装所有包依赖项
pip install poetry
poetry install

  运行数据库迁移 

python label_studio/manage.py migrate 

  # 执行django命令进行静态文件和html整合

python label_studio/manage.py collectstatic

  先运行前端1,2,3,再启动后端服务器

  # 在开发模式下启动后端服务器 

python label_studio/manage.py runserver

  前端

  # 安装所有包依赖项

cd web
yarn install --frozen-lockfile

 前端启动顺序1,2,3

  1 主程序页面启动命令   

cd web 
yarn ls:watch

  2 项目数据管理页面启动命令

cd web
yarn dm:watch

  3 标注插件页面启动命令

cd web 
yarn lsf:watch

  

 

 

posted on 2026-07-18 12:04  深圳男生快快乐乐  阅读(2)  评论(0)    收藏  举报

导航