You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -271,7 +271,7 @@ We will keep up with the latest progress of the community, and support more popu
271
271
272
272
## Contributing
273
273
274
-
We appreciate all contributions to improve MMPose. Please refer to [CONTRIBUTING.md](https://mmpose.readthedocs.io/en/1.x/notes/contribution_guide.html) for the contributing guideline.
274
+
We appreciate all contributions to improve MMPose. Please refer to [CONTRIBUTING.md](https://mmpose.readthedocs.io/en/1.x/contribution_guide.html) for the contributing guideline.
Copy file name to clipboardExpand all lines: docs/en/guide_to_framework.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# A 20 Minute Guide to MMPose Framework
1
+
# A 20-minute Tour to MMPose
2
2
3
3
MMPose 1.0 is built upon a brand-new framework. For developers with basic knowledge of deep learning, this tutorial provides a overview of MMPose 1.0 framework design. Whether you are **a user of the previous version of MMPose**, or **a beginner of MMPose wishing to start with v1.0**, this tutorial will show you how to build a project based on MMPose 1.0.
Copy file name to clipboardExpand all lines: docs/en/installation.md
+32-31Lines changed: 32 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,21 @@
1
1
# Installation
2
2
3
+
We recommend that users follow our best practices to install MMPose. However, the whole process is highly customizable. See [Customize Installation](#customize-installation) section for more information.
4
+
3
5
-[Installation](#installation)
4
6
-[Prerequisites](#prerequisites)
5
-
-[Install MMPose](#install-mmpose)
6
-
-[Best Practices](#best-practices)
7
-
-[Verify the installation](#verify-the-installation)
We recommend that users follow our best practices to install MMPose. However, the whole process is highly customizable. See [Customize Installation](#customize-installation) section for more information.
57
-
58
-
### Best Practices
59
-
60
-
**Step 0.** Install [MMEngine](https://github.com/open-mmlab/mmengine) and [MMCV](https://github.com/open-mmlab/mmcv/tree/2.x) using [MIM](https://github.com/open-mmlab/mim).
57
+
**Step 3.** Install [MMEngine](https://github.com/open-mmlab/mmengine) and [MMCV](https://github.com/open-mmlab/mmcv/tree/2.x) using [MIM](https://github.com/open-mmlab/mim).
61
58
62
59
```shell
63
60
pip install -U openmim
@@ -71,9 +68,11 @@ Note that some of the demo scripts in MMPose require [MMDetection](https://githu
71
68
mim install "mmdet>=3.0.0rc6"
72
69
```
73
70
74
-
**Step 1.** Install MMPose.
71
+
## Best Practices
75
72
76
-
Case A: To develop and run mmpose directly, install it from source:
73
+
### Build MMPose from source
74
+
75
+
To develop and run mmpose directly, install it from source:
# thus any local modifications made to the code will take effect without reinstallation.
87
86
```
88
87
89
-
Case B: To use mmpose as a dependency or third-party package, install it with pip:
88
+
### Install as a Python package
89
+
90
+
To use mmpose as a dependency or third-party package, install it with pip:
90
91
91
92
```shell
92
93
mim install "mmpose>=1.0.0rc1"
93
94
```
94
95
95
-
###Verify the installation
96
+
## Verify the installation
96
97
97
98
To verify that MMPose is installed correctly, you can run an inference demo with the following steps.
98
99
@@ -141,9 +142,9 @@ The `demo.jpg` can be downloaded from [Github](https://raw.githubusercontent.com
141
142
142
143
The inference results will be a list of `PoseDataSample`, and the predictions are in the `pred_instances`, indicating the detected keypoint locations and scores.
143
144
144
-
###Customize Installation
145
+
## Customize Installation
145
146
146
-
####CUDA versions
147
+
### CUDA versions
147
148
148
149
When installing PyTorch, you need to specify the version of CUDA. If you are not clear on which to choose, follow our recommendations:
149
150
@@ -154,7 +155,7 @@ Please make sure the GPU driver satisfies the minimum version requirements. See
154
155
155
156
Installing CUDA runtime libraries is enough if you follow our best practices, because no CUDA code will be compiled locally. However if you hope to compile MMCV from source or develop other CUDA operators, you need to install the complete CUDA toolkit from NVIDIA's [website](https://developer.nvidia.com/cuda-downloads), and its version should match the CUDA version of PyTorch. i.e., the specified version of cudatoolkit in `conda install` command.
156
157
157
-
####Install MMEngine without MIM
158
+
### Install MMEngine without MIM
158
159
159
160
To install MMEngine with pip instead of MIM, please follow [MMEngine installation guides](https://mmengine.readthedocs.io/zh_CN/latest/get_started/installation.html).
160
161
@@ -164,7 +165,7 @@ For example, you can install MMEngine by the following command.
164
165
pip install mmengine
165
166
```
166
167
167
-
####Install MMCV without MIM
168
+
### Install MMCV without MIM
168
169
169
170
MMCV contains C++ and CUDA extensions, thus depending on PyTorch in a complex way. MIM solves such dependencies automatically and makes the installation easier. However, it is not a must.
170
171
@@ -176,13 +177,13 @@ For example, the following command install mmcv built for PyTorch 1.10.x and CUD
MMPose can be built for CPU only environment. In CPU mode you can train, test or inference a model.
182
183
183
184
However, some functionalities are missing in this mode, usually GPU-compiled ops like `Deformable Convolution`. Most models in MMPose don't depend on these ops, but if you try to train/test/infer a model containing these ops, an error will be raised.
184
185
185
-
####Install on Google Colab
186
+
### Install on Google Colab
186
187
187
188
[Google Colab](https://colab.research.google.com/) usually has PyTorch installed,
188
189
thus we only need to install MMEngine, MMCV and MMPose with the following commands.
@@ -215,7 +216,7 @@ print(mmpose.__version__)
215
216
Note that within Jupyter, the exclamation mark `!` is used to call external executables and `%cd` is a [magic command](https://ipython.readthedocs.io/en/stable/interactive/magics.html#magic-cd) to change the current working directory of Python.
216
217
```
217
218
218
-
####Using MMPose with Docker
219
+
### Using MMPose with Docker
219
220
220
221
We provide a [Dockerfile](https://github.com/open-mmlab/mmpose/blob/master/docker/Dockerfile) to build an image. Ensure that your [docker version](https://docs.docker.com/engine/install/) >=19.03.
221
222
@@ -239,7 +240,7 @@ docker run --gpus all --shm-size=8g -it -v {DATA_DIR}:/mmpose/data mmpose
239
240
If you encounter the error message like `permission denied`, please add `sudo` at the start of the command and try it again.
240
241
```
241
242
242
-
###Trouble shooting
243
+
## Trouble shooting
243
244
244
-
If you have some issues during the installation, please first view the [FAQ](./notes/faq.md) page.
245
+
If you have some issues during the installation, please first view the [FAQ](./faq.md) page.
245
246
You may [open an issue](https://github.com/open-mmlab/mmpose/issues/new/choose) on GitHub if no solution is found.
Copy file name to clipboardExpand all lines: docs/en/merge_docs.sh
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
# Copyright (c) OpenMMLab. All rights reserved.
3
3
4
4
sed -i '$a\\n' ../../demo/docs/*_demo.md
5
-
cat ../../demo/docs/*_demo.md | sed "s/#/#&/"| sed "s/md###t/html#t/g"| sed '1i\# Demo'| sed 's=](/docs/en/=](/=g'| sed 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g'>demo.md
5
+
cat ../../demo/docs/*_demo.md | sed "s/^## 2D\(.*\)Demo/##\1Estimation/"| sed "s/md###t/html#t/g"| sed '1i\# Demos\n'| sed 's=](/docs/en/=](/=g'| sed 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g'>demos.md
6
6
7
7
# remove /docs/ for link used in doc site
8
8
sed -i 's=](/docs/en/=](=g' overview.md
@@ -15,6 +15,7 @@ sed -i 's=](/docs/en/=](=g' ./user_guides/*.md
15
15
sed -i 's=](/docs/en/=](=g' ./advanced_guides/*.md
16
16
sed -i 's=](/docs/en/=](=g' ./dataset_zoo/*.md
17
17
sed -i 's=](/docs/en/=](=g' ./notes/*.md
18
+
sed -i 's=](/docs/en/=](=g' ./projects/*.md
18
19
19
20
20
21
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g' overview.md
@@ -27,3 +28,4 @@ sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g' ./model_zoo_pa
27
28
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g' ./user_guides/*.md
28
29
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g' ./dataset_zoo/*.md
29
30
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g' ./notes/*.md
31
+
sed -i 's=](/=](https://github.com/open-mmlab/mmpose/tree/1.x/=g' ./projects/*.md
0 commit comments