#头条创作挑战赛#
开源半自动标注工具,OpenMMLab PlayGround: 使用Label-Studio和SAM的半自动标注
PlayGround(https://github.com/open-mmlab/playground/blob/main/label_anything/readme.md)
1.源码安装:
conda create -n rtmdet-sam python=3.9 -y
conda activate rtmdet-sam
conda install git
git clone https://github.com/open-mmlab/playground
pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1 -f https://download.pytorch.org/whl/cu113/torch_stable.html
2.服务启动label-studio-ml
(rtmdet-sam) dl@t640:~/yolo/app/label/playground-main/label_anything$ label-studio-ml start sam --port 8003 --with \ model_name=mobile_sam \ sam_config=vit_b \ sam_checkpoint_file=./sam_vit_h_4b8939.pth \ out_mask=True \ out_bbox=True \ device=cuda:0
3.服务启动label-studio
export ML_TIMEOUT_SETUP=40
# Windows requires the following commands
set ML_TIMEOUT_SETUP=40
label-studio start
#标注##label_anything##半自动##自动标注##人工智能##AI工具##每天一个AI工具#