Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Docs]Change the code about installation #72

Merged
merged 13 commits into from
Sep 23, 2022
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ pip install openmim
mim install mmengine
mim install "mmcv>=2.0.0rc1"
mim install "mmdet>=3.0.0rc0"
# for albumentations
pip install -r requirements/albu.txt
git clone https://github.com/open-mmlab/mmyolo.git
cd mmyolo
# for albumentations
pip install -r requirements/albu.txt
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
mim install -e .
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
```

Expand Down
5 changes: 3 additions & 2 deletions README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,11 @@ pip install openmim
mim install mmengine
mim install "mmcv>=2.0.0rc1"
mim install "mmdet>=3.0.0rc0"
# for albumentations
pip install -r requirements/albu.txt
git clone https://github.com/open-mmlab/mmyolo.git
cd mmyolo
# Install albumentations
pip install -r requirements/albu.txt
# Install MMYOLO
mim install -e .
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
```

Expand Down
4 changes: 2 additions & 2 deletions docs/en/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.0rc1"
mim install "mmdet>=3.0.0rc0"
# for albumentations
pip install -r requirements/albu.txt
```

**Note:**
Expand All @@ -61,6 +59,8 @@ Case a: If you develop and run mmdet directly, install it from source:
```shell
git clone https://github.com/open-mmlab/mmyolo.git
cd mmyolo
# for albumentations
pip install -r requirements/albu.txt
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
pip install -v -e .
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
# "-v" means verbose, or more output
# "-e" means installing a project in editable mode,
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_cn/get_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.0rc1"
mim install "mmdet>=3.0.0rc0"
# for albumentations
pip install -r requirements/albu.txt
```

**注意:**
Expand All @@ -61,6 +59,8 @@ b. 如果使用 albumentations,我们建议使用 pip install -r requirements/
```shell
git clone https://github.com/open-mmlab/mmyolo.git
cd mmyolo
# for albumentations
pip install -r requirements/albu.txt
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
pip install -v -e .
qingtian5 marked this conversation as resolved.
Show resolved Hide resolved
# "-v" 指详细说明,或更多的输出
# "-e" 表示在可编辑模式下安装项目,因此对代码所做的任何本地修改都会生效,从而无需重新安装。
Expand Down