ubuntu20.04下安装标注工具CVAT

1 安装docker

复制代码
sudo apt-get update
sudo apt-get --no-install-recommends install -y apt-transport-https ca-certificates \
  curl \
  gnupg-agent \
  software-properties-common

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
  "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) \
  stable"

sudo apt-get update
sudo apt-get --no-install-recommends install -y \
  docker-ce docker-ce-cli containerd.io docker-compose-plugin

2 增加用户到docker组

复制代码
sudo groupadd docker
sudo usermod -aG docker $USER

3 下载cvat,进入cvat路径

复制代码
git clone https://github.com/opencv/cvat
cd cvat

4 设置访问地址,这样让其他电脑可以访问它

或者将它放入/etc/profile中开机配置

复制代码
export CVAT_HOST=your-ip-address

5 安装chrome

cvat推荐只能用chrome

复制代码
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

2.使用 gdebi 工具自动安装 deb 包和依赖关系:

复制代码
sudo apt install gdebi
sudo gdebi google-chrome-stable_current_amd64.deb

5 运行docker容器

注意是在cvat目录下,第一次会下载需要的镜像

以后每次开机都需要在这个路径下启动cvat的docker镜像

复制代码
docker compose up -d

6 创建一个超级用户

复制代码
docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser'

注意再邮箱处可以不填,否则可能报错。

7 访问

在chrome浏览器中输入localhost:8080

相关推荐
CHHH_HHH7 分钟前
【C++】二叉搜索树全面升级,深度剖析AVL树
开发语言·数据结构·c++·算法·stl
shelter8 分钟前
一文讲清楚Spring Aop失效场景以及失效背后的原理
java
奋斗的小方11 分钟前
Java基础篇09(2):项目实战之基于swing的石头迷阵
java·开发语言
暗夜猎手-大魔王19 分钟前
转载--Hermes Agent 08 | Agent 的自我进化:nudge、后台审查与轨迹数据
java·前端·人工智能
宸津-代码粉碎机25 分钟前
Spring AI 企业级RAG实战|增量更新+文档去重+定时自动入库生产落地方案
java·大数据·人工智能·后端·python·spring
Raink老师27 分钟前
【AI面试临阵磨枪-92】Skill 开发规范:命名、文档、测试、日志、监控、告警?
java·面试·log4j
Evand J28 分钟前
【代码介绍】自适应R的AEKF(自适应扩展卡尔曼滤波)和经典EKF比较,MATLAB例程|三维非线性系统
开发语言·matlab·ekf·自适应·自适应滤波
雪的季节36 分钟前
1 个网络线程 + 3 个数据处理线程(完全隔离)
开发语言
weixin_4080996737 分钟前
2026 AI生成图片快速去水印的5种实测方法(附在线工具 + Python/Java/PHP API代码)
java·人工智能·python·api接口·ai去水印·石榴智能·自动去水印