label-studio标装工具安装

Github地址
https://github.com/HumanSignal/label-studio/

  1. 环境查看
    系统环境
# cat /etc/redhat-release 
Rocky Linux release 9.3 (Blue Onyx)
# uname -a
Linux Rocky9Labelstudio003085 5.14.0-362.18.1.el9_3.0.1.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Feb 11 13:49:23 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

软件环境

# docker version
Client: Docker Engine - Community
 Version:           25.0.3
 API version:       1.44
 Go version:        go1.21.6
 Git commit:        4debf41
 Built:             Tue Feb  6 21:14:42 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          25.0.3
  API version:      1.44 (minimum version 1.24)
  Go version:       go1.21.6
  Git commit:       f417435
  Built:            Tue Feb  6 21:13:06 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.28
  GitCommit:        ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
# docker-compose version
Docker Compose version v2.23.3
  1. 下载代码
# git clone https://github.com/HumanSignal/label-studio/
  1. 部署
    进入跟目录把数据文件夹设置成777权限
#  pwd
/root/label-studio-develop
# chmod 777 mydata

启动

# docker-compose up -d 

访问

# http://ip:8080

有注册账号直接登陆
没有账号创建一个账号
image
创建账号
image
4. 升级
pull最新镜像

# pull最新镜像
# docker pull heartexlabs/label-studio
# 停止
# docker-compose down
# 启动
# docker-compose up -d
posted @ 2024-11-21 10:45  minseo  阅读(0)  评论(0编辑  收藏  举报