mirror of https://github.com/open-mmlab/mmyolo.git
[Docs] Change the code about installation (#72)
* [Docs]Change the code about installation * Update README_zh-CN.md Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> * Update README_zh-CN.md Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> * Update README.md * Update get_started.md * Update get_started.md * Update README.md Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> * Update docs/zh_cn/get_started.md Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> * Update docs/en/get_started.md Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> * Update docs/zh_cn/get_started.md Co-authored-by: Range King <RangeKingHZ@gmail.com> * Update README.md Co-authored-by: Range King <RangeKingHZ@gmail.com> * Update README_zh-CN.md Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> * Update docs/en/get_started.md Co-authored-by: Range King <RangeKingHZ@gmail.com> Co-authored-by: HinGwenWoong <peterhuang0323@qq.com> Co-authored-by: Range King <RangeKingHZ@gmail.com>pull/137/head
parent
41954a5ef5
commit
2368bac9f0
|
@ -91,11 +91,12 @@ pip install openmim
|
||||||
mim install mmengine
|
mim install mmengine
|
||||||
mim install "mmcv>=2.0.0rc1"
|
mim install "mmcv>=2.0.0rc1"
|
||||||
mim install "mmdet>=3.0.0rc0"
|
mim install "mmdet>=3.0.0rc0"
|
||||||
# for albumentations
|
|
||||||
pip install -r requirements/albu.txt
|
|
||||||
git clone https://github.com/open-mmlab/mmyolo.git
|
git clone https://github.com/open-mmlab/mmyolo.git
|
||||||
cd mmyolo
|
cd mmyolo
|
||||||
mim install -e .
|
# Install albumentations
|
||||||
|
pip install -r requirements/albu.txt
|
||||||
|
# Install MMYOLO
|
||||||
|
mim install -v -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tutorial
|
## Tutorial
|
||||||
|
|
|
@ -91,11 +91,12 @@ pip install openmim
|
||||||
mim install mmengine
|
mim install mmengine
|
||||||
mim install "mmcv>=2.0.0rc1"
|
mim install "mmcv>=2.0.0rc1"
|
||||||
mim install "mmdet>=3.0.0rc0"
|
mim install "mmdet>=3.0.0rc0"
|
||||||
# for albumentations
|
|
||||||
pip install -r requirements/albu.txt
|
|
||||||
git clone https://github.com/open-mmlab/mmyolo.git
|
git clone https://github.com/open-mmlab/mmyolo.git
|
||||||
cd mmyolo
|
cd mmyolo
|
||||||
mim install -e .
|
# Install albumentations
|
||||||
|
pip install -r requirements/albu.txt
|
||||||
|
# Install MMYOLO
|
||||||
|
mim install -v -e .
|
||||||
```
|
```
|
||||||
|
|
||||||
## 教程
|
## 教程
|
||||||
|
|
|
@ -44,8 +44,6 @@ pip install -U openmim
|
||||||
mim install mmengine
|
mim install mmengine
|
||||||
mim install "mmcv>=2.0.0rc1"
|
mim install "mmcv>=2.0.0rc1"
|
||||||
mim install "mmdet>=3.0.0rc0"
|
mim install "mmdet>=3.0.0rc0"
|
||||||
# for albumentations
|
|
||||||
pip install -r requirements/albu.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Note:**
|
**Note:**
|
||||||
|
@ -61,7 +59,10 @@ Case a: If you develop and run mmdet directly, install it from source:
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/open-mmlab/mmyolo.git
|
git clone https://github.com/open-mmlab/mmyolo.git
|
||||||
cd mmyolo
|
cd mmyolo
|
||||||
pip install -v -e .
|
# Install albumentations
|
||||||
|
pip install -r requirements/albu.txt
|
||||||
|
# Install MMYOLO
|
||||||
|
mim install -v -e .
|
||||||
# "-v" means verbose, or more output
|
# "-v" means verbose, or more output
|
||||||
# "-e" means installing a project in editable mode,
|
# "-e" means installing a project in editable mode,
|
||||||
# thus any local modifications made to the code will take effect without reinstallation.
|
# thus any local modifications made to the code will take effect without reinstallation.
|
||||||
|
|
|
@ -44,8 +44,6 @@ pip install -U openmim
|
||||||
mim install mmengine
|
mim install mmengine
|
||||||
mim install "mmcv>=2.0.0rc1"
|
mim install "mmcv>=2.0.0rc1"
|
||||||
mim install "mmdet>=3.0.0rc0"
|
mim install "mmdet>=3.0.0rc0"
|
||||||
# for albumentations
|
|
||||||
pip install -r requirements/albu.txt
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**注意:**
|
**注意:**
|
||||||
|
@ -61,7 +59,10 @@ b. 如果使用 albumentations,我们建议使用 pip install -r requirements/
|
||||||
```shell
|
```shell
|
||||||
git clone https://github.com/open-mmlab/mmyolo.git
|
git clone https://github.com/open-mmlab/mmyolo.git
|
||||||
cd mmyolo
|
cd mmyolo
|
||||||
pip install -v -e .
|
# Install albumentations
|
||||||
|
pip install -r requirements/albu.txt
|
||||||
|
# Install MMYOLO
|
||||||
|
mim install -v -e .
|
||||||
# "-v" 指详细说明,或更多的输出
|
# "-v" 指详细说明,或更多的输出
|
||||||
# "-e" 表示在可编辑模式下安装项目,因此对代码所做的任何本地修改都会生效,从而无需重新安装。
|
# "-e" 表示在可编辑模式下安装项目,因此对代码所做的任何本地修改都会生效,从而无需重新安装。
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue