Skip to content

Commit

Permalink
[Docs] Add brief installation steps in README for copy&paste. (open-m…
Browse files Browse the repository at this point in the history
…mlab#755)

* [Docs] Add breif installation code for copy&paste.

* minor fix
  • Loading branch information
yingfhu authored Mar 30, 2022
1 parent 6496030 commit a70b1ff
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,19 @@ Please refer to [changelog.md](docs/en/changelog.md) for more details and other

## Installation

Please refer to [install.md](https://mmclassification.readthedocs.io/en/latest/install.html) for installation and dataset preparation.
Below are quick steps for installation:

```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
git clone https://github.com/open-mmlab/mmclassification.git
cd mmclassification
pip3 install -e .
```

Please refer to [install.md](https://mmclassification.readthedocs.io/en/latest/install.html) for more detailed installation and dataset preparation.

## Getting Started

Expand Down
14 changes: 13 additions & 1 deletion README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,19 @@ MMClassification 是一款基于 PyTorch 的开源图像分类工具箱,是 [O

## 安装

请参考 [安装指南](https://mmclassification.readthedocs.io/zh_CN/latest/install.html) 进行安装
以下是安装的简要步骤:

```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
git clone https://github.com/open-mmlab/mmclassification.git
cd mmclassification
pip3 install -e .
```

更详细的步骤请参考 [安装指南](https://mmclassification.readthedocs.io/zh_CN/latest/install.html) 进行安装。

## 基础教程

Expand Down

0 comments on commit a70b1ff

Please sign in to comment.