From 22e7ac41d02e9647eda99e50f688a84a0e37862b Mon Sep 17 00:00:00 2001 From: Yulv-git <34329208+Yulv-git@users.noreply.github.com> Date: Tue, 26 Jul 2022 14:23:59 +0800 Subject: [PATCH 1/5] Update table of contents for en/get_started.md --- docs/en/get_started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/get_started.md b/docs/en/get_started.md index 1ccc47fcd9..f7a3c20d01 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -10,6 +10,7 @@ For installation instructions, please see [install.md](install.md). - [Test a dataset](#test-a-dataset) - [Run demos](#run-demos) - [Train a Model](#train-a-model) + - [Training setting](#training-setting) - [Train with a single GPU](#train-with-a-single-gpu) - [Train with CPU](#train-with-cpu) - [Train with multiple GPUs](#train-with-multiple-gpus) From 5028d4bacc26299d093c6a1878b3eb4576594fc3 Mon Sep 17 00:00:00 2001 From: Yulv-git <34329208+Yulv-git@users.noreply.github.com> Date: Tue, 26 Jul 2022 14:27:48 +0800 Subject: [PATCH 2/5] Update table of contents for zh_cn/get_started.md --- docs/zh_cn/get_started.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/zh_cn/get_started.md b/docs/zh_cn/get_started.md index 015c581eb0..3d810ce579 100644 --- a/docs/zh_cn/get_started.md +++ b/docs/zh_cn/get_started.md @@ -9,6 +9,7 @@ - [测试某个数据集](#测试某个数据集) - [运行演示](#运行演示) - [如何训练模型](#如何训练模型) + - [训练配置](#训练配置) - [使用单个 GPU 训练](#使用单个-GPU-训练) - [使用 CPU 训练](#使用-CPU-训练) - [使用多个 GPU 训练](#使用多个-GPU-训练) From e6a1c0923c68906322c93067dc520eff004cf1a4 Mon Sep 17 00:00:00 2001 From: Yulv-git <34329208+Yulv-git@users.noreply.github.com> Date: Tue, 26 Jul 2022 14:35:02 +0800 Subject: [PATCH 3/5] Supplement the content of the benchmark. --- docs/zh_cn/get_started.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/zh_cn/get_started.md b/docs/zh_cn/get_started.md index 3d810ce579..d2ffdf9929 100644 --- a/docs/zh_cn/get_started.md +++ b/docs/zh_cn/get_started.md @@ -268,6 +268,14 @@ CUDA_VISIBLE_DEVICES=0,1,2,3 GPUS=4 ./tools/slurm_train.sh ${PARTITION} ${JOB_NA CUDA_VISIBLE_DEVICES=4,5,6,7 GPUS=4 ./tools/slurm_train.sh ${PARTITION} ${JOB_NAME} config2.py [--work-dir ${WORK_DIR}] ``` +## 基准测试 + +您可以使用以下脚本获得平均推理速度。请注意,它不包括 IO 时间和预处理时间。 + +```shell +python tools/analysis/benchmark_inference.py ${MMPOSE_CONFIG_FILE} +``` + ## 进阶教程 目前, MMPose 提供了以下更详细的教程: From 8af7f8a07a345ec4909ba985a979d66ad1f724f4 Mon Sep 17 00:00:00 2001 From: Yulv-git <34329208+Yulv-git@users.noreply.github.com> Date: Tue, 26 Jul 2022 14:48:46 +0800 Subject: [PATCH 4/5] Supplement tutorials/7_webcam_api for en/get_started.md. --- docs/en/get_started.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/get_started.md b/docs/en/get_started.md index f7a3c20d01..f19e813671 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -289,4 +289,5 @@ We provide some tutorials for users: - [customize data pipelines](tutorials/3_data_pipeline.md) - [add new modules](tutorials/4_new_modules.md) - [export a model to ONNX](tutorials/5_export_model.md) -- [customize runtime settings](tutorials/6_customize_runtime.md). +- [customize runtime settings](tutorials/6_customize_runtime.md) +- [develop applications with Webcam API](tutorials/7_webcam_api.md) From 80861b9bef4c2c9479331743e13221ae36af56a1 Mon Sep 17 00:00:00 2001 From: ly015 Date: Wed, 27 Jul 2022 20:14:51 +0800 Subject: [PATCH 5/5] fix lint --- docs/en/get_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/get_started.md b/docs/en/get_started.md index f19e813671..58e54a9a43 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -10,7 +10,7 @@ For installation instructions, please see [install.md](install.md). - [Test a dataset](#test-a-dataset) - [Run demos](#run-demos) - [Train a Model](#train-a-model) - - [Training setting](#training-setting) + - [Training setting](#training-setting) - [Train with a single GPU](#train-with-a-single-gpu) - [Train with CPU](#train-with-cpu) - [Train with multiple GPUs](#train-with-multiple-gpus)