File tree 2 files changed +25
-2
lines changed
2 files changed +25
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,19 @@ Results and models are available in the [model zoo](/docs/en/model_zoo.md).
77
77
78
78
## Installation
79
79
80
- Please refer to [ get_started.md] ( /docs/en/get_started.md ) for installation.
80
+ MMRazor depends on [ PyTorch] ( https://pytorch.org/ ) and [ MMCV] ( https://github.com/open-mmlab/mmcv ) .
81
+ Below are quick steps for installation.
82
+ Please refer to [ get_started.md] ( /docs/en/get_started.md ) for more detailed instruction.
83
+
84
+ ``` shell
85
+ conda create -n open-mmlab python=3.8 pytorch=1.10 cudatoolkit=11.3 torchvision -c pytorch -y
86
+ conda activate open-mmlab
87
+ pip3 install openmim
88
+ mim install mmcv-full
89
+ git clone https://github.com/open-mmlab/mmrazor.git
90
+ cd mmrazor
91
+ pip install -v -e . # or "python setup.py develop"
92
+ ```
81
93
82
94
## Getting Started
83
95
Please refer to [ train.md] ( /docs/en/train.md ) and [ test.md] ( /docs/en/test.md ) for the basic usage of MMRazor. There are also tutorials:
Original file line number Diff line number Diff line change @@ -103,7 +103,18 @@ v0.1.0 版本已经在 2021.12.23 发布
103
103
104
104
## 安装
105
105
106
- 请参考 [ get_started.md] ( /docs/en/get_started.md ) 进行安装。
106
+ MMRazor 依赖 [ PyTorch] ( https://pytorch.org/ ) 和 [ MMCV] ( https://github.com/open-mmlab/mmcv ) ,以下是安装的简要步骤。
107
+ 更详细的安装指南请参考 [ get_started.md] ( /docs/en/get_started.md ) 。
108
+
109
+ ``` shell
110
+ conda create -n open-mmlab python=3.8 pytorch=1.10 cudatoolkit=11.3 torchvision -c pytorch -y
111
+ conda activate open-mmlab
112
+ pip3 install openmim
113
+ mim install mmcv-full
114
+ git clone https://github.com/open-mmlab/mmrazor.git
115
+ cd mmrazor
116
+ pip install -v -e . # or "python setup.py develop"
117
+ ```
107
118
108
119
## 快速入门
109
120
请参考 [ get_started.md] ( /docs/en/get_started.md ) 学习 MMRazor 的基本使用。 我们也提供了一些进阶教程:
You can’t perform that action at this time.
0 commit comments