Skip to content

Commit 7961cae

Browse files
authored
Fix typos in installation.md (#3107)
1 parent 5408bc7 commit 7961cae

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/en/installation.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ If everything goes fine, you will be able to get the following visualization res
130130

131131
![image](https://user-images.githubusercontent.com/87690686/187824033-2cce0f55-034a-4127-82e2-52744178bc32.jpg)
132132

133-
Option (B). If you install mmpose with pip, open you python interpreter and copy & paste the following codes.
133+
Option (B). If you install mmpose with pip, open your Python interpreter and copy & paste the following codes.
134134

135135
```python
136136
from mmpose.apis import inference_topdown, init_model
@@ -170,25 +170,25 @@ When installing PyTorch, you need to specify the version of CUDA. If you are not
170170

171171
Please make sure the GPU driver satisfies the minimum version requirements. See [this table](https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#cuda-major-component-versions__table-cuda-toolkit-driver-versions) for more information.
172172

173-
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.
173+
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.
174174

175175
### Install MMEngine without MIM
176176

177177
To install MMEngine with pip instead of MIM, please follow [MMEngine installation guides](https://mmengine.readthedocs.io/zh_CN/latest/get_started/installation.html).
178178

179-
For example, you can install MMEngine by the following command.
179+
For example, you can install MMEngine using the following command.
180180

181181
```shell
182182
pip install mmengine
183183
```
184184

185185
### Install MMCV without MIM
186186

187-
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.
187+
MMCV contains C++ and CUDA extensions, thus, it depends on PyTorch in a complex way. MIM solves such dependencies automatically and makes the installation easier. However, it is not a must.
188188

189189
To install MMCV with pip instead of MIM, please follow [MMCV installation guides](https://mmcv.readthedocs.io/en/2.x/get_started/installation.html). This requires manually specifying a find-url based on PyTorch version and its CUDA version.
190190

191-
For example, the following command install mmcv built for PyTorch 1.10.x and CUDA 11.3.
191+
For example, the following command installs mmcv built for PyTorch 1.10.x and CUDA 11.3.
192192

193193
```shell
194194
pip install 'mmcv>=2.0.1' -f https://download.openmmlab.com/mmcv/dist/cu113/torch1.10/index.html
@@ -239,7 +239,7 @@ We provide a [Dockerfile](https://github.com/open-mmlab/mmpose/blob/master/docke
239239

240240
```shell
241241
# build an image with PyTorch 1.8.0, CUDA 10.1, CUDNN 7.
242-
# If you prefer other versions, just modified the Dockerfile
242+
# If you prefer other versions, just modify the Dockerfile
243243
docker build -t mmpose docker/
244244
```
245245

@@ -254,10 +254,10 @@ docker run --gpus all --shm-size=8g -it -v {DATA_DIR}:/mmpose/data mmpose
254254
`{DATA_DIR}` is your local folder containing all the datasets for mmpose.
255255

256256
```{note}
257-
If you encounter the error message like `permission denied`, please add `sudo` at the start of the command and try it again.
257+
If you encounter an error message like `permission denied`, please add `sudo` at the start of the command and try it again.
258258
```
259259

260-
## Trouble shooting
260+
## Troubleshooting
261261

262262
If you have some issues during the installation, please first view the [FAQ](./faq.md) page.
263263
You may [open an issue](https://github.com/open-mmlab/mmpose/issues/new/choose) on GitHub if no solution is found.

0 commit comments

Comments
 (0)