原文作者:我辈李想
版权声明:文章原创,转载时请务必加上原文超链接、作者信息和本声明。
文章目录
- 前言
- 一、使用 Label Studio标注数据
- 1.版本控制
- 二、Label Studio绑定机器学习后端
- 三、重写机器学习后端
- 四、通过api执行Label Studio动作
前言
一、使用 Label Studio标注数据
1.版本控制
python版本应该选择3.7或3.8,如果选择最新3.12版本,库存在冲突无法使用
label-studio版本是1.8.0
conda create --name label-studio python=3.7
conda activate label-studio
conda install psycopg2
pip install label-studio=1.8.0
label-studio=1.8.0中使用django框架,版本是3.2.19
二、Label Studio绑定机器学习后端
http://openbayes.com/docs/tutorials/use-label-studio-ml-backend-with-uie/#%E7%8E%AF%E5%A2%83%E5%87%86%E5%A4%87
以上示例中使用Use for interactive preannotations 选项时会出现无法及时标注的问题,需要Machine Learning中设置Retrieve predictions when loading a task automatically
三、重写机器学习后端
其实label_studio_ml中已经提供多种训练模型的重写,就比如正对pytorch的可以找到label_studio_ml/examples/pytorch_transfer_learning/ 文件夹
https://baijiahao.baidu.com/s?id=1754333783185545399&wfr=spider&for=pc
四、通过api执行Label Studio动作
可监控动作基于tasks任务,这个人物就是标记人员打开页面标记这个操作。