diff --git a/README.md b/README.md index ac44e8d6f..da947fb56 100644 --- a/README.md +++ b/README.md @@ -91,11 +91,12 @@ 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 -mim install -e . +# Install albumentations +pip install -r requirements/albu.txt +# Install MMYOLO +mim install -v -e . ``` ## Tutorial diff --git a/README_zh-CN.md b/README_zh-CN.md index f253832fb..0b31e8b1b 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -91,11 +91,12 @@ 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 -mim install -e . +# Install albumentations +pip install -r requirements/albu.txt +# Install MMYOLO +mim install -v -e . ``` ## 教程 diff --git a/docs/en/get_started.md b/docs/en/get_started.md index 200008940..2bddb4cf6 100644 --- a/docs/en/get_started.md +++ b/docs/en/get_started.md @@ -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:** @@ -61,7 +59,10 @@ 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 -pip install -v -e . +# Install albumentations +pip install -r requirements/albu.txt +# Install MMYOLO +mim install -v -e . # "-v" means verbose, or more output # "-e" means installing a project in editable mode, # thus any local modifications made to the code will take effect without reinstallation. diff --git a/docs/zh_cn/get_started.md b/docs/zh_cn/get_started.md index 27d89d076..bb599f5c4 100644 --- a/docs/zh_cn/get_started.md +++ b/docs/zh_cn/get_started.md @@ -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 ``` **注意:** @@ -61,7 +59,10 @@ b. 如果使用 albumentations,我们建议使用 pip install -r requirements/ ```shell git clone https://github.com/open-mmlab/mmyolo.git cd mmyolo -pip install -v -e . +# Install albumentations +pip install -r requirements/albu.txt +# Install MMYOLO +mim install -v -e . # "-v" 指详细说明,或更多的输出 # "-e" 表示在可编辑模式下安装项目,因此对代码所做的任何本地修改都会生效,从而无需重新安装。 ```