diff --git a/README.md b/README.md index 09558751bc..85e4ec28ae 100644 --- a/README.md +++ b/README.md @@ -89,32 +89,18 @@ Please refer to [changelog.md](docs/en/changelog.md) for details and release his MMEditing depends on [PyTorch](https://pytorch.org/) and [MMCV](https://github.com/open-mmlab/mmcv). Below are quick steps for installation. +Please refer to [install.md](docs/en/install.rst) for more detailed instruction. -**Step 1.** -Install PyTorch following [official instructions](https://pytorch.org/get-started/locally/), e.g. - -``` -pip3 install torch torchvision -``` - -**Step 2.** -Install MMCV with [MIM](https://github.com/open-mmlab/mim). - -``` +```shell +conda create -n open-mmlab python=3.8 pytorch=1.10 cudatoolkit=11.3 torchvision -c pytorch -y +conda activate open-mmlab pip3 install openmim mim install mmcv-full -``` - -**Step 3.** -Install MMEditing from source. - -``` git clone https://github.com/open-mmlab/mmediting.git cd mmediting -pip3 install -e .[all] +pip3 install -e . ``` -Please refer to [install.md](docs/en/install.rst) for more detailed instruction. ## Getting Started diff --git a/README_zh-CN.md b/README_zh-CN.md index 4f86655203..dfa323f529 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -86,32 +86,18 @@ MMEditing 缜密地设计新的框架并将其精心实现,希望能够为您 ## 安装 MMEditing 依赖 [PyTorch](https://pytorch.org/) 和 [MMCV](https://github.com/open-mmlab/mmcv),以下是安装的简要步骤。 +更详细的安装指南请参考 [install.md](docs/en/install.rst)。 -**步骤 1.** -依照[官方教程](https://pytorch.org/get-started/locally/)安装PyTorch,例如 - -``` -pip3 install torch torchvision -``` - -**步骤 2.** -使用 [MIM](https://github.com/open-mmlab/mim) 安装 MMCV - -``` +```shell +conda create -n open-mmlab python=3.8 pytorch=1.10 cudatoolkit=11.3 torchvision -c pytorch -y +conda activate open-mmlab pip3 install openmim mim install mmcv-full -``` - -**步骤 3.** -从源码安装 MMEditing - -``` git clone https://github.com/open-mmlab/mmediting.git cd mmediting -pip3 install -e .[all] +pip3 install -e . ``` -更详细的安装指南请参考 [install.md](docs/en/install.rst) . ## 开始使用