Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
7fc683c9
Commit
7fc683c9
authored
Dec 20, 2023
by
dcuai
Browse files
Update README.md
parent
6331fd0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
README.md
README.md
+10
-8
No files found.
README.md
View file @
7fc683c9
# <div align="center"><strong>MMCV</strong></div>
# <div align="center"><strong>MMCV</strong></div>
## 简介
## 简介
MMCV是计算机视觉研究的基础库,主要提供以下功能:图像处理、图像和标注结果可视化、图像转换、多种CNN网络结构、高质量实现的常见CUDA算子。
MMCV官方github地址:
[
https://github.com/open-mmlab/mmcv
](
https://github.com/open-mmlab/mmcv
)
MMCV是计算机视觉研究的基础库,主要提供以下功能:图像处理、图像和标注结果可视化、图像转换、多种CNN网络结构、高质量实现的常见CUDA算子。
## 安装
## 安装
组件支持
+
Python 3.7、3.8、3.9
### 使用pip方式安装
###
1、
使用pip方式安装
mmcv whl包下载目录:
[
https://cancon.hpccube.com:65024/4/main/mmcv/dtk23.04
](
https://cancon.hpccube.com:65024/4/main/mmcv/dtk23.04
)
,选择对应的pytorch版本和python版本下载对应mmcv的whl包
mmcv whl包下载目录:
[
https://cancon.hpccube.com:65024/4/main/mmcv/dtk23.04
](
https://cancon.hpccube.com:65024/4/main/mmcv/dtk23.04
)
,选择对应的pytorch版本和python版本下载对应mmcv的whl包
```
shell
```
shell
pip
install
mmcv
*
(
下载的mmcv的whl包
)
pip
install
mmcv
*
(
下载的mmcv的whl包
)
```
```
### 使用源码编译方式安装
###
2、
使用源码编译方式安装
#### 编译环境准备
#### 编译环境准备
提供2种环境准备方式:
提供2种环境准备方式:
...
@@ -36,17 +38,17 @@ pip install dist/mmcv*
...
@@ -36,17 +38,17 @@ pip install dist/mmcv*
2. 源码编译安装
2. 源码编译安装
MMCV_WITH_OPS=1 ROCM_HOME=${ROCM_PATH} python3 setup.py install
MMCV_WITH_OPS=1 ROCM_HOME=${ROCM_PATH} python3 setup.py install
```
```
#### Note
+
若使用pip install下载安装过慢,可添加pypi清华源:-i https://pypi.tuna.tsinghua.edu.cn/simple/
+
ROCM_PATH为dtk的路径,默认为/opt/dtk
##
版本号查询
##
验证
-
python -c "import mmcv; mmcv.
\_\_
version__",版本号与官方版本同步,查询该软件的版本号,例如2.0.0;
-
python -c "import mmcv; mmcv.
\_\_
version__",版本号与官方版本同步,查询该软件的版本号,例如2.0.0;
## Known Issue
## Known Issue
-
无
-
无
## Note
+
若使用pip install下载安装过慢,可添加pypi清华源:-i https://pypi.tuna.tsinghua.edu.cn/simple/
+
ROCM_PATH为dtk的路径,默认为/opt/dtk
## 其他参考
## 其他参考
-
[
README_ORIGIN
](
README_ORIGIN.md
)
-
[
README_ORIGIN
](
README_ORIGIN.md
)
-
[
README_zh-CN
](
README_zh-CN.md
)
-
[
README_zh-CN
](
README_zh-CN.md
)
-
[
https://github.com/open-mmlab/mmcv
](
https://github.com/open-mmlab/mmcv
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment