Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Dox] Update for get_started. #1513

Merged
merged 5 commits into from
Jul 27, 2022
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/en/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -288,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)
9 changes: 9 additions & 0 deletions docs/zh_cn/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [测试某个数据集](#测试某个数据集)
- [运行演示](#运行演示)
- [如何训练模型](#如何训练模型)
- [训练配置](#训练配置)
- [使用单个 GPU 训练](#使用单个-GPU-训练)
- [使用 CPU 训练](#使用-CPU-训练)
- [使用多个 GPU 训练](#使用多个-GPU-训练)
Expand Down Expand Up @@ -267,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 提供了以下更详细的教程:
Expand Down