From 3e66f1131ee32726acf6cff2c139f07764d1552c Mon Sep 17 00:00:00 2001 From: elliotmessi <90443217+elliotmessi@users.noreply.github.com> Date: Thu, 3 Nov 2022 18:14:38 +0800 Subject: [PATCH 1/5] [web] 200 algo label update (#1344) [web] 130 algo update label (#1338) --- README_zh-CN.md | 2 +- ymir/web/docs/README.md | 4 ++-- ymir/web/src/locales/modules/algo.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README_zh-CN.md b/README_zh-CN.md index 6e0b51befd..c7ef00f78f 100755 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -169,7 +169,7 @@ YMIR平台主要满足用户规模化生产模型的需求,为用户提供良 |项目管理|模型管理|训练模型|支持自选数据集、标签,并根据需求调整训练参数来训练模型,完成后可查看对应的模型效果| |项目管理|模型管理|模型验证|支持上传单张图片,通过可视化的方式查看模型在真实图片中的表现,以校验模型的精确度| |标签管理|标签管理|新增标签|支持训练标签的主名和别名的添加| -|模型部署|算法管理|公有算法|支持算法定制化、查看其他人上传的公有算法并添加到我的算法中| +|模型部署|算法管理|公共算法|支持算法定制化、查看其他人上传的公共算法并添加到我的算法中| |模型部署|算法管理|我的算法|支持查看和编辑我发布的算法和已添加的算法| |模型部署|算法管理|部署算法|支持部署我的算法到设备上、查看部署历史| |模型部署|设备管理|查看设备|支持设备信息和部署历史的查看| diff --git a/ymir/web/docs/README.md b/ymir/web/docs/README.md index 67d9839ebd..ae9e0a42b0 100644 --- a/ymir/web/docs/README.md +++ b/ymir/web/docs/README.md @@ -370,7 +370,7 @@ step 3 部署完成后,可前往设备页面查看模型运行情况。前往 ### 发布到公共算法库 -step 1 进入【我的算法】页面, 对选中的已发布模型点击[发布到公有算法]按钮,填写信息点击[确定]后,算法会交给后台人工审核打包。 +step 1 进入【我的算法】页面, 对选中的已发布模型点击[发布到公共算法]按钮,填写信息点击[确定]后,算法会交给后台人工审核打包。 ![public_alg_1](https://user-images.githubusercontent.com/90443348/197187010-a2d5d212-aacb-4e30-8c20-04ad1f910fab.jpg) @@ -378,7 +378,7 @@ step 1 进入【我的算法】页面, 对选中的已发布模型点击[发 ![public_alg_3](https://user-images.githubusercontent.com/90443348/197187016-31fc5b8d-1b35-4a19-849e-7d265cff7ce8.jpg) -step 2 审核通过后即可前往【模型部署】-【公有算法】页面查看对应的模型。 +step 2 审核通过后即可前往【模型部署】-【公共算法】页面查看对应的模型。 ![public_alg_4](https://user-images.githubusercontent.com/90443348/197187018-6ffa9aaf-66e3-40de-8f11-24732ae3af4d.jpg) diff --git a/ymir/web/src/locales/modules/algo.ts b/ymir/web/src/locales/modules/algo.ts index dcccc87395..97dc1ad2b9 100644 --- a/ymir/web/src/locales/modules/algo.ts +++ b/ymir/web/src/locales/modules/algo.ts @@ -1,7 +1,7 @@ const algo = { 'algo.title': { cn: '算法商城', en: 'Algorithm Store', }, 'algo.label': { cn: '模型部署', en: 'Model Deployment', }, - 'algo.public.label': { cn: '公有算法', en: 'Public Algorithm', }, + 'algo.public.label': { cn: '公共算法', en: 'Public Algorithm', }, 'algo.mine.label': { cn: '我的算法', en: 'My Algorithm', }, 'algo.device.label': { cn: '设备列表', en: 'Devices', }, 'algo.support.label': { cn: '支持设备', en: 'Supported Devices', }, From 08641b02c4d78ed597a4da8dd577bd6fc8aef5d8 Mon Sep 17 00:00:00 2001 From: elliotmessi <90443217+elliotmessi@users.noreply.github.com> Date: Fri, 4 Nov 2022 09:52:37 +0800 Subject: [PATCH 2/5] [web] 200 expand docs (#1347) expand docs sidebar as default --- ymir/web/src/components/common/leftMenu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ymir/web/src/components/common/leftMenu.js b/ymir/web/src/components/common/leftMenu.js index 50e1ce71dd..9cd4ac787f 100644 --- a/ymir/web/src/components/common/leftMenu.js +++ b/ymir/web/src/components/common/leftMenu.js @@ -73,7 +73,7 @@ function LeftMenu() { isSuperAdmin(role) ? getItem(t('common.top.menu.permission'), '/home/permission', UserSettingsIcon,) : null, ]), { type: 'divider' }, - getItem( + getItem( {t('common.menu.docs')} , 'outer/docs'), From 83ad860e40a54727c5071a539fcafab06786e2d8 Mon Sep 17 00:00:00 2001 From: Phoenix <89957974+phoenix-xhuang@users.noreply.github.com> Date: Fri, 4 Nov 2022 11:27:45 +0900 Subject: [PATCH 3/5] [ci] update ci (#1349) update ci Co-authored-by: Your Name --- .github/workflows/backend-pr.yml | 2 +- .github/workflows/command-pr.yml | 2 +- .github/workflows/exc-sdk-pr.yml | 2 +- .github/workflows/hel-pr.yml | 2 +- .github/workflows/web-pr.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/backend-pr.yml b/.github/workflows/backend-pr.yml index 6974c159c0..7ea5e6494e 100644 --- a/.github/workflows/backend-pr.yml +++ b/.github/workflows/backend-pr.yml @@ -7,7 +7,7 @@ on: branches: - master - dev - - ymir-pa + - prerelease env: PYTHONPATH: ./ymir/backend diff --git a/.github/workflows/command-pr.yml b/.github/workflows/command-pr.yml index 4b24f67c8f..344f1f90a1 100644 --- a/.github/workflows/command-pr.yml +++ b/.github/workflows/command-pr.yml @@ -8,7 +8,7 @@ on: branches: - master - dev - - ymir-pa + - prerelease jobs: command-ci: diff --git a/.github/workflows/exc-sdk-pr.yml b/.github/workflows/exc-sdk-pr.yml index 0ee85bf98d..77565748ea 100644 --- a/.github/workflows/exc-sdk-pr.yml +++ b/.github/workflows/exc-sdk-pr.yml @@ -8,7 +8,7 @@ on: branches: - master - dev - - ymir-pa + - prerelease paths: - 'docker_executor/sample_executor/**' diff --git a/.github/workflows/hel-pr.yml b/.github/workflows/hel-pr.yml index c66693e7cb..69e0816fdf 100644 --- a/.github/workflows/hel-pr.yml +++ b/.github/workflows/hel-pr.yml @@ -5,7 +5,7 @@ on: branches: - master - dev - - ymir-pa + - prerelease jobs: hel-ci: diff --git a/.github/workflows/web-pr.yml b/.github/workflows/web-pr.yml index 5bc69d9678..29665cda36 100644 --- a/.github/workflows/web-pr.yml +++ b/.github/workflows/web-pr.yml @@ -8,7 +8,7 @@ on: branches: - master - dev - - ymir-pa + - prerelease jobs: From db57ea86e2447b838258e977751935424323b930 Mon Sep 17 00:00:00 2001 From: elliotmessi <90443217+elliotmessi@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:09:23 +0800 Subject: [PATCH 4/5] [web] 200 update algo page title (#1356) store -> public algo --- ymir/web/src/locales/modules/algo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ymir/web/src/locales/modules/algo.ts b/ymir/web/src/locales/modules/algo.ts index 97dc1ad2b9..0746334f1e 100644 --- a/ymir/web/src/locales/modules/algo.ts +++ b/ymir/web/src/locales/modules/algo.ts @@ -1,5 +1,5 @@ const algo = { - 'algo.title': { cn: '算法商城', en: 'Algorithm Store', }, + 'algo.title': { cn: '公共算法', en: 'Public Algorithm', }, 'algo.label': { cn: '模型部署', en: 'Model Deployment', }, 'algo.public.label': { cn: '公共算法', en: 'Public Algorithm', }, 'algo.mine.label': { cn: '我的算法', en: 'My Algorithm', }, From f47d73e4cddba350871c7eb4fb41efcc7696c706 Mon Sep 17 00:00:00 2001 From: Aryalfrat <90443348+Aryalfrat@users.noreply.github.com> Date: Tue, 8 Nov 2022 16:32:18 +0800 Subject: [PATCH 5/5] [readme]overall update (#1355) --- README.md | 81 +++++++++++++++++++++++++------------------------ README_zh-CN.md | 70 +++++++++++++++++++++--------------------- 2 files changed, 75 insertions(+), 76 deletions(-) diff --git a/README.md b/README.md index 69ff158692..d994cab790 100755 --- a/README.md +++ b/README.md @@ -31,8 +31,8 @@
 
-[📘Usage Instruction](https://github.com/IndustryEssentials/ymir/blob/master/README_zh-CN.md#3-gui%E4%BD%BF%E7%94%A8-%E5%85%B8%E5%9E%8B%E6%A8%A1%E5%9E%8B%E7%94%9F%E4%BA%A7%E6%B5%81%E7%A8%8B) | -[🛠️Installation](https://github.com/IndustryEssentials/ymir/blob/master/README_zh-CN.md#2-%E5%AE%89%E8%A3%85) | +[📘Usage Instruction](https://github.com/IndustryEssentials/ymir/wiki/Operating-Instructions) | +[🛠️Installation](README.md#2-installation) | [🚀Projects](https://github.com/IndustryEssentials/ymir/projects) | [🤔Issues Report](https://github.com/IndustryEssentials/ymir/issues/new/choose) | [📰Lisence](https://github.com/IndustryEssentials/ymir/blob/master/LICENSE) @@ -42,7 +42,7 @@
- + 📫 Feedback on usage issues: contact.viesc@gmail.com / Professional consulting for server equipment: tensor.station@gmail.com
 
 
@@ -62,14 +62,15 @@ If you wish to refer to YMIR in your work, please use the following BibTeX entry # What's new -Version 2.0.0 updated on 10/21/2022 +Version 2.0.0 updated on 11/08/2022 YMIR platform -- New dataset/model hiding and restoring functions. -- support for modifying project training categories before the start of an iteration. -- addition of model testing module and model inference result comparison function. -- optimization of code structure. -- the addition of a model deployment module. +- A new model performance diagnosis module. +- A new function for visual evaluation of model inference results. +- Adding a public algorithm library with a variety of built-in high-precision algorithms. +- One-click deployment function, supporting the deployment of algorithms to prerequisite certified devices. +- New operating instruction. +- Refactory code structure. Docker - Support [yolov5](https://github.com/ultralytics/yolov5) @@ -81,7 +82,7 @@ Docker - Support [demo sample image creation documentation](https://github.com/modelai/ymir-executor-fork/tree/ymir-dev/det-demo-tmi) - Support [ymir mirror development extension library](https://github.com/modelai/ymir-executor-sdk) -View more [ymir-executor-fork](https://github.com/modelai/ymir-executor-fork) +View more [ymir-executor-fork](https://github.com/modelai/ymir-executor-fork) . Within the public dockerimage - Update yolov5 training image: youdaoyzbx/ymir-executor:ymir1.3.0-yolov5-cu111-tmi @@ -89,16 +90,26 @@ Within the public dockerimage - Update the yolov5 training image to support rv1126 chip deployment: youdaoyzbx/ymir-executor:ymir1.3.0-yolov5-cu111-modelstore - Update the training image to support yolov5-v6.2: youdaoyzbx/ymir-executor:ymir1.3.0-yolov5-v6.2-cu111-tmi -More code updates [ymir-dev](https://github.com/modelai/ymir-executor-fork/tree/ymir-dev) +More code updates [ymir-dev](https://github.com/modelai/ymir-executor-fork/tree/ymir-dev). + +# Deployment Prerequisite (optional) + +YMIR supports deploying the trained model and public algorithm model directly to the certified device, for more hardware specs, please check [the details](https://i-item.jd.com/10065116628109.html). + +
+ +
 
 
## Introduction + **Catalog** - [Citations](#citations) - [What's New](#whats-new) +- [Depolyment Prerequisite (optional)](#deployment-prerequisite-optional) - [1. Introduction to AI SUITE-YMIR](#1-introduction-to-ai-suite-ymir) - [1.1. Main functions](#11-main-functions) - [1.2. Apply for trial](#12-apply-for-trial) @@ -106,7 +117,6 @@ More code updates [ymir-dev](https://github.com/modelai/ymir-executor-fork/tree/ - [2.1. Environment dependencies](#21-environment-dependencies) - [2.2. Installation of YMIR-GUI](#22-installation-of-ymir-gui) - [2.3. Installation of label studio (optional)](#23-installation-of-label-studio-optional) - - [2.4. Installation of Model Deployment (optional)](#24-installation-of-model-deployment-optional) - [3. Use YMIR-GUI: typical model production process](#3-use-ymir-gui-typical-model-production-process) - [4. For advanced users: YMIR-CMD (command line) user's guide](#4-for-advanced-users-ymir-cmd-command-line-users-guide) - [4.1 Installation](#41-installation) @@ -125,9 +135,9 @@ More code updates [ymir-dev](https://github.com/modelai/ymir-executor-fork/tree/ As a streamlined model development product, YMIR(You Mine In Recursion) focuses on the dataset versioning and model iteration in the AI SUITE open-source series.
- +
 
 
- + AI commercialization is currently reaching a stage of maturity in terms of computing hardwares, algorithms, etc. The adoption of AI often encounter challenges such as a lack of skilled developers, high development costs and long iteration cycles. As a platform, YMIR provides an end-to-end AI development system. This platform reduces costs for companies using artificial intelligence and accelerates the adoption of artificial intelligence. YMIR provides ML developers with one-stop services for data processing, model training, and other steps required in the AI development cycle. @@ -168,7 +178,8 @@ YMIR platform mainly meets the needs of users to produce models at scale, provid |Project Management|Model Management|Training Models|Support to select datasets, labels, and adjust training parameters to train models according to requirements, and view the corresponding model results after completion| |Project Management|Model Management|Model Validation|Support uploading a single image to check the performance of the model in real images through visualization to verify the accuracy of the model| |Tag management|Tag management|Add tags|Support adding primary names and aliases of training tags| -|Model Deployment|Algorithm Management|Public Algorithms|Support algorithm customization, view public algorithms uploaded by others and add them to my algorithms| +|Model Deployment|Algorithm Management|Public Algorithm|Support algorithm customization, view public algorithms and try them out, support adding to my algorithms| +|Model Deployment|Algorithm Management|Public Algorithm|Support publishing my algorithms to public algorithms| |Model Deployment|Algorithm Management|My Algorithms|Support for viewing and editing my published algorithms and added algorithms| |Model Deployment|Algorithm Management|Deploy Algorithms|Support deploying my algorithms to devices and viewing deployment history| |Model Deployment|Device Management|View Devices|Support viewing device information and deployment history| @@ -268,6 +279,14 @@ LABEL_TOOL_HOST_PORT=set_your_label_tool_HOST_PORT ``` +* The default port number for YMIR's Model Deployment module is 18801. If there is a conflict that needs to be modified, you need to go to the YMIR directory and modify the .env file to configure the ModelDeployment port and MySQL access password: + +``` +DEPLOY_MODULE_HOST_PORT=18801 +DEPLOY_MODULE_URL=${DEPLOY_MODULE_HOST_PORT} +DEPLOY_MODULE_MYSQL_ROOT_PASSWORD=deploy_db_passwd +``` + Execute the start command after the modification: `bash ymir.sh start`. 4. After the service successfully started, YMIR will be available at [http://localhost:12001/](http://localhost:12001/). If you need to **stop the service**, run the command: `bash ymir.sh stop` @@ -329,30 +348,12 @@ The user can access label studio through the default URL [http://localhost:12007 ```sh docker-compose -f docker-compose.label_studio.yml down ``` - - ## 2.4. Installation of Model Deployment (optional) - -ModelDeployment is a model deployment system supported by YMIR and can be installed as an optional model deployment tool. - -1. In the YMIR directory in the previous section, modify the .env file to configure the ModelDeployment port and MySQL access password as follows. -``` -DEPLOY_MODULE_HOST_PORT=18801 -DEPLOY_MODULE_URL=${DEPLOY_MODULE_HOST_PORT} -DEPLOY_MODULE_MYSQL_ROOT_PASSWORD=deploy_db_passwd -``` - -2. start the installation ModelDeployment command as follows. -`docker-compose -f docker-compose.modeldeploy.yml up -d` - -3.The command to check the status of ModelDeployment after completion is as follows. -`docker-compose -f docker-compose.modeldeploy.yml ps` - -4. Stop the ModelDeployment service with the following command. -`docker-compose -f docker-compose.modeldeploy.yml down` # 3. Use YMIR-GUI: typical model production process -![YMIR-GUI process](https://github.com/IndustryEssentials/ymir-images/blob/main/doc_images/YMIR-GUI-process.jpeg) +
+ +
 
 
As shown in the figure, YMIR divides the model development process into multiple steps. Details about how to run each step are listed in the subsequent sections. @@ -362,7 +363,7 @@ Therefore, YMIR platform, through active learning, first attains an initial mode The updated dataset is used to train the model again to improve the model capability. The YMIR platform provides a more efficient approach than labeling the entire data and then training it, reducing the cost of labeling low-quality data. Through the cycle of mining, labeling, and training, high quality data is expanded and the model capability is improved. -This section uses a complete model iteration process as an example to illustrate how to use the YMIR platform. Please check [Operating Instructions](https://github.com/IndustryEssentials/ymir/wiki/Operating-Instructions) +This section uses a complete model iteration process as an example to illustrate how to use the YMIR platform. Please check [Operating Instructions](https://github.com/IndustryEssentials/ymir/wiki/Operating-Instructions). # 4. For advanced users: YMIR-CMD (command line) user's guide @@ -409,7 +410,7 @@ Also check out [MSFT Encoding Style](https://github.com/Microsoft/Recommenders/w ## 5.2. About training, inference and mining docker images -[Check this document](docs/ymir-cmd-container.md) for details +[Check this document](https://github.com/IndustryEssentials/ymir/blob/dev/dev_docs/ymir-cmd-container.md) for details. # 6. Design concept @@ -429,7 +430,7 @@ The default profile template needs to be extracted in the mirror. The training image `industryessentials/executor-det-yolov4-training:release-0.1.2` has a configuration file template located at: `/img-man/training-template.yaml` -Mining and inference mirrors The configuration file templates for `industryessentials/executor-det-yolov4-mining:release-0.1.2` are located at: `/img-man/mining-template.yaml` (mining) and `/img-man/infer-template. yaml` (infer) +Mining and inference mirrors The configuration file templates for `industryessentials/executor-det-yolov4-mining:release-0.1.2` are located at: `/img-man/mining-template.yaml` (mining) and `/img-man/infer-template. yaml` (infer). **How can the trained model be used outside the system?** @@ -441,7 +442,7 @@ It has not been fully tested on Windows server, so we cannot provide service sup **How to import models I've already trained?** -See [this document](docs/import-extra-models.md) +See [this document](https://github.com/IndustryEssentials/ymir/blob/dev/dev_docs/import-extra-models.md). [![All Contributors](https://img.shields.io/badge/All%20Contributors-9-brightgreen)](#contributors-) diff --git a/README_zh-CN.md b/README_zh-CN.md index c7ef00f78f..c59b0ecb2e 100755 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -31,8 +31,8 @@
 
-[📘使用说明](https://github.com/IndustryEssentials/ymir/blob/master/README_zh-CN.md#3-gui%E4%BD%BF%E7%94%A8-%E5%85%B8%E5%9E%8B%E6%A8%A1%E5%9E%8B%E7%94%9F%E4%BA%A7%E6%B5%81%E7%A8%8B) | -[🛠️安装教程](https://github.com/IndustryEssentials/ymir/blob/master/README_zh-CN.md#2-%E5%AE%89%E8%A3%85) | +[📘使用说明](https://github.com/IndustryEssentials/ymir/wiki/%E6%93%8D%E4%BD%9C%E8%AF%B4%E6%98%8E) | +[🛠️安装教程](README_zh-CN.md#2-%E5%AE%89%E8%A3%85) | [🚀进行中的项目](https://github.com/IndustryEssentials/ymir/projects) | [🤔报告问题](https://github.com/IndustryEssentials/ymir/issues/new/choose) | [📰开源协议](https://github.com/IndustryEssentials/ymir/blob/master/LICENSE) @@ -64,14 +64,15 @@ # 更新内容 -2.0.0版本更新时间为10/21/2022 +2.0.0版本更新时间为11/08/2022 YMIR平台 -- 新增数据集/模型隐藏和还原功能; -- 支持在迭代开始前修改项目训练类别; -- 新增模型测试模块和模型推理结果比对功能; -- 优化代码结构; -- 新增模型部署模块; +- 新增模型性能诊断模块; +- 新增对模型推理结果进行可视化评估的功能; +- 新增公共算法库,内置多种高精度算法; +- 新增一键部署功能,支持将算法部署到认证设备上; +- 新增操作说明文档; +- 优化代码结构。 Docker - 支持 [yolov5](https://github.com/ultralytics/yolov5) @@ -83,7 +84,7 @@ Docker - 支持 [demo 示例镜像制作文档](https://github.com/modelai/ymir-executor-fork/tree/ymir-dev/det-demo-tmi) - 支持 [ymir镜像开发扩展库](https://github.com/modelai/ymir-executor-sdk) -查看更多内容 [ymir-executor-fork](https://github.com/modelai/ymir-executor-fork) +查看更多内容 [ymir-executor-fork](https://github.com/modelai/ymir-executor-fork) 。 在公共镜像内 - 更新yolov5训练镜像:youdaoyzbx/ymir-executor:ymir1.3.0-yolov5-cu111-tmi @@ -91,7 +92,15 @@ Docker - 更新支持rv1126芯片部署的yolov5训练镜像:youdaoyzbx/ymir-executor:ymir1.3.0-yolov5-cu111-modelstore - 更新支持yolov5-v6.2的训练镜像:youdaoyzbx/ymir-executor:ymir1.3.0-yolov5-v6.2-cu111-tmi -更多代码更新请查看 [ymir-dev](https://github.com/modelai/ymir-executor-fork/tree/ymir-dev) +更多代码更新请查看 [ymir-dev](https://github.com/modelai/ymir-executor-fork/tree/ymir-dev)。 + +# 硬件支持 (可选) + +YYMIR支持将训练好的模型直接部署到认证设备,需要查看更多硬件参数,请查看[详情](https://i-item.jd.com/10065116628109.html)。 + +
+ +
 
 
## 简介 @@ -102,6 +111,7 @@ Docker - [文章引用](#文章引用) - [更新内容](#更新内容) +- [硬件支持 (可选)](#%E7%A1%AC%E4%BB%B6%E6%94%AF%E6%8C%81-%E5%8F%AF%E9%80%89) - [1. AI SUITE-YMIR介绍](#1--ai-suite-ymir%E4%BB%8B%E7%BB%8D) - [1.1. 主要功能](#11-主要功能) - [1.2. 申请试用](#12-申请试用) @@ -109,7 +119,6 @@ Docker - [2.1. 环境依赖](#21-%E7%8E%AF%E5%A2%83%E4%BE%9D%E8%B5%96) - [2.2. 安装 YMIR-GUI](#22-%E5%AE%89%E8%A3%85-ymir-gui) - [2.3. 安装配置LabelStudio (可选)](#23-%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AElabelstudio-%E5%8F%AF%E9%80%89) - - [2.4. 安装配置Model Deployment (可选)](#24-%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE-modeldeployment-%E5%8F%AF%E9%80%89) - [3. GUI使用-典型模型生产流程](#3-gui%E4%BD%BF%E7%94%A8-%E5%85%B8%E5%9E%8B%E6%A8%A1%E5%9E%8B%E7%94%9F%E4%BA%A7%E6%B5%81%E7%A8%8B) - [4. 进阶版:Ymir-CMD line使用指南](#4-%E8%BF%9B%E9%98%B6%E7%89%88ymir-cmd-line%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97) - [4.1 安装](#41-%E5%AE%89%E8%A3%85) @@ -130,7 +139,7 @@ Docker YMIR(You Mine In Recursion)是一个简化的模型开发产品,专注于AI SUITE开源系列中的数据集版本和模型迭代。
- +
 
 
目前人工智能商业化在算力、算法和技术方面达到阶段性成熟。AI应用在产品落地过程中经常会遇到无法大规模扩展的瓶颈,例如人才紧缺、开发成本高、迭代周期长等问题。 @@ -151,7 +160,7 @@ YMIR主要以数据为中心,提供高效模型开发迭代能力,集成了 YMIR平台主要满足用户规模化生产模型的需求,为用户提供良好、易用的展示界面,便于数据和模型的管理与查看。平台包含项目管理、标签管理、系统配置等主要功能模块,支持实现以下主要功能: -| 功能模块 | 一级功能 | 二级功能 | 功能说明 | +| 功能模块 | 一级功能 | 二级功能 | 功能说明 | |----------|-----------|------------|-----------------------------------------| |项目管理|项目管理|项目编辑|支持添加、删除、编辑项目及项目信息| |项目管理|迭代管理|迭代准备|支持设置迭代所需要的数据集和模型信息| @@ -169,7 +178,8 @@ YMIR平台主要满足用户规模化生产模型的需求,为用户提供良 |项目管理|模型管理|训练模型|支持自选数据集、标签,并根据需求调整训练参数来训练模型,完成后可查看对应的模型效果| |项目管理|模型管理|模型验证|支持上传单张图片,通过可视化的方式查看模型在真实图片中的表现,以校验模型的精确度| |标签管理|标签管理|新增标签|支持训练标签的主名和别名的添加| -|模型部署|算法管理|公共算法|支持算法定制化、查看其他人上传的公共算法并添加到我的算法中| +|模型部署|算法管理|公共算法|支持算法定制化、查看公共算法并试用,支持添加到我的算法中| +|模型部署|算法管理|公共算法|支持发布我的算法到公共算法| |模型部署|算法管理|我的算法|支持查看和编辑我发布的算法和已添加的算法| |模型部署|算法管理|部署算法|支持部署我的算法到设备上、查看部署历史| |模型部署|设备管理|查看设备|支持设备信息和部署历史的查看| @@ -265,6 +275,14 @@ LABEL_TOOL_HOST_PORT=set_your_label_tool_HOST_PORT ``` +* YMIR的模型部署模块默认端口号为18801,如有冲突需要修改,则需要前往YMIR目录下修改.env文件,配置 ModelDeployment 端口和 MySQL 访问密码: + +``` +DEPLOY_MODULE_HOST_PORT=18801 +DEPLOY_MODULE_URL=${DEPLOY_MODULE_HOST_PORT} +DEPLOY_MODULE_MYSQL_ROOT_PASSWORD=deploy_db_passwd +``` + 修改完成后再执行启动命令:`bash ymir.sh start`。 4. 服务启动成功后,默认配置端口为12001,可以直接访问 [http://localhost:12001/](http://localhost:12001/) 显示登录界面即安装成功。如果需要**停止服务**,运行命令为:`bash ymir.sh stop` @@ -311,26 +329,6 @@ LABEL_TOOL_TOKEN="Token token_value" 5. 停止label studio服务命令如下: `docker-compose -f docker-compose.label_studio.yml down` - -## 2.4. 安装配置 ModelDeployment (可选) - -ModelDeployment 是YMIR所支持的模型部署系统,可以作为备选模型部署工具安装。 - -1. 在上一节的YMIR目录下,修改.env文件,配置 ModelDeployment 端口和 MySQL 访问密码: -``` -DEPLOY_MODULE_HOST_PORT=18801 -DEPLOY_MODULE_URL=${DEPLOY_MODULE_HOST_PORT} -DEPLOY_MODULE_MYSQL_ROOT_PASSWORD=deploy_db_passwd -``` - -2. 启动安装 ModelDeployment 命令如下: -`docker-compose -f docker-compose.modeldeploy.yml up -d` - -3. 完成后查看 ModelDeployment 状态命令如下: -`docker-compose -f docker-compose.modeldeploy.yml ps` - -4. 停止 ModelDeployment 服务命令如下: -`docker-compose -f docker-compose.modeldeploy.yml down` # 3. GUI使用-典型模型生产流程 @@ -389,7 +387,7 @@ YMIR repo中的任何代码都应遵循编码标准,并将在CI测试中进行 ## 5.2 关于训练,推理与挖掘镜像 -[查看这篇文档](docs/ymir-cmd-container.md)获取更多细节。 +[查看这篇文档](https://github.com/IndustryEssentials/ymir/blob/dev/dev_docs/ymir-cmd-container.md)获取更多细节。 # 6. 设计理念 @@ -422,7 +420,7 @@ YMIR repo中的任何代码都应遵循编码标准,并将在CI测试中进行 * 如何导入外部模型 -参考[此文档](docs/import-extra-models.md) +参考[此文档](https://github.com/IndustryEssentials/ymir/blob/dev/dev_docs/import-extra-models.md)。 [![All Contributors](https://img.shields.io/badge/All%20Contributors-9-brightgreen)](#contributors-)