当前位置: 首页 > news >正文

CVAT及其半自动标注安装(Windows)

必要组件安装

WSL2  Docker  Git  Chrome

  • Install WSL2 (Windows subsystem for Linux) refer to this official guide. WSL2 requires Windows 10, version 2004 or higher. After installing WSL2, install a Linux Distribution of your choice.
    安装 WSL2(适用于 Linux 的 Windows 子系统),请参阅此官方指南 。WSL2 需要 Windows 10 版本 2004 或更高版本。安装 WSL2 后,安装您选择的 Linux 发行版。

  • Download and install Docker Desktop for Windows. Double-click Docker for Windows Installer to run the installer. More instructions can be found here. Official guide for docker WSL2 backend can be found here. Note: Check that you are specifically using WSL2 backend for Docker.
    下载并安装适用于 Windows 的 Docker Desktop。双击 Docker for Windows Installer 以运行安装程序。更多说明可以在这里找到。 可以找到 docker WSL2 后端的官方指南 这里 。注意:检查您是否专门使用 Docker 的 WSL2 后端。

  • In Docker Desktop, go to Settings >> Resources >> WSL Integration, and enable integration with the Linux Distribution that you chose.
    在 Docker Desktop 中,转到 Settings >> Resources >> WSL Integration ,然后启用与您选择的 Linux 发行版的集成。

  • Download and install Git for Windows. When installing the package please keep all options by default. More information about the package can be found here.
    下载并安装 适用于 Windows 的 Git。安装包时,请默认保留所有选项。有关该软件包的更多信息, 请参见 此处 。

  • Download and install Google Chrome. It is the only browser which is supported by CVAT.
    下载并安装 Google Chrome。它是 CVAT 唯一支持的浏览器。

  • 安装完成后在Chrome打开localhost:8080即可进入页面

半自动标注安装

  • 首先在Ubuntu进入CVAT
cd cvat
  •  关闭compose
docker compose down
  • To bring up cvat with auto annotation tool, from cvat root directory, you need to run:
    要使用自动注释工具启动 cavat,您需要从 cvat 根目录运行:
docker compose -f docker-compose.yml -f components/serverless/docker-compose.serverless.yml up -d
  • You have to install nuctl command line tool to build and deploy serverless functions. Download version 1.13.0. It is important that the version you download matches the version in docker-compose.serverless.yml. For example, using wget.
    您必须安装 nuctl 命令行工具来构建和部署无服务器功能。下载版本 1.13.0。 您下载的版本必须与 中的版本匹配 docker-compose.serverless.yml. 例如,使用 wget. 
wget https://github.com/nuclio/nuclio/releases/download/1.13.0/nuctl-1.13.0-linux-amd64

在localhost:8070可查看Nuclio是否安装 

  • After downloading the nuclio, give it a proper permission and do a softlink.
  • 下载 nuclio 后,给它适当的权限并进行软链接。
sudo chmod +x nuctl-1.13.0-linux-amd64
sudo ln -sf $(pwd)/nuctl-1.13.0-linux-amd64 /usr/local/bin/nuctl
  • Deploy a couple of functions. This will automatically create a cvat Nuclio project to contain the functions. Commands below should be run only after CVAT has been installed using docker compose because it runs nuclio dashboard which manages all serverless functions.
  • 部署几个函数。这将自动创建一个 cvat Nuclio 项目来包含函数。以下命令只能在使用 docker compose 安装 CVAT 后运行,因为它运行管理所有无服务器功能的 nuclio 仪表板。 
./serverless/deploy_cpu.sh serverless/openvino/dextr
./serverless/deploy_cpu.sh serverless/openvino/omz/public/yolo-v3-tf

如果出问题,可安装国内镜像

sudo apt update
sudo apt install -y docker.io
  • 无脑复制粘贴就行,管用。 
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["https://docker.1panel.live",
"https://dockerpull.cn",
"https://dockerproxy.cn",
"https://docker.1ms.run"] 
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker

 GPU加速

先安装Toolkit

curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg

curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list

sudo apt update
sudo apt install -y nvidia-container-toolkit

检查安装

docker run --rm --runtime=nvidia --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi

部署GPU到Nuclio

ls serverless/

ls serverless/pytorch/facebookresearch

serverless/deploy_gpu.sh serverless/pytorch/facebookresearch/sam/

安装教程

【WSL2】在电脑上安装Ubuntu、图形化界面+远程连接图形化界面_哔哩哔哩_bilibili

windows11- wsl2 Docker 安装使用教程!vscode docker插件使用!_哔哩哔哩_bilibili

图像标注平台CVAT的安装和使用_哔哩哔哩_bilibili

官方链接

安装指南 |CVAT 公司 --- Installation Guide | CVAT

Semi-automatic and Automatic Annotation | CVAT

仅自用,侵权删

相关文章:

  • SYN Flooding攻击原理
  • OpenCV--图像形态学
  • 第二章日志分析-mysql应急响应笔记
  • 【Linux网络】网络套接字socket
  • DeepSeek在互联网技术中的革命性应用:从算法优化到系统架构
  • Proteus vs Multisim:电路设计与仿真软件对比
  • 计算机专业English交流
  • 我用Cursor + DeepSeek + Claude-3.7-Sonnet + DevBox,10分钟开发了一个系统
  • ChatGPT之智能驾驶问题讨论
  • 网络Socket编程基于UDP协议模拟简易网络通信
  • 基于快速开发平台与智能手表的区域心电监测与AI预警系统(源码+论文+部署讲解等)
  • 网络空间安全(53)XSS
  • Vue3 路由权限管理:基于角色的路由生成与访问控制--页面级的权限控制
  • LeetCode刷题SQL笔记
  • vim/vi程序(1)
  • forms实现推箱子小游戏
  • C#语言的加密货币
  • PostgreSQL 事务
  • RISCV GCC 后端 -- 依赖(Dependence)简析
  • springboot项目中常用的工具类和api
  • 人民日报评论员:党政机关要带头过紧日子
  • “上海-日喀则”援藏入境旅游包机在沪首航
  • 纽约市长称墨西哥海军帆船撞桥事故已致2人死亡
  • 国际博物馆日|在辽宁省博物馆遇见敦煌
  • 哈马斯与以色列在多哈举行新一轮加沙停火谈判
  • 从近200件文物文献里,回望光华大学建校百年