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
9a4bd122
You need to sign in or sign up before continuing.
Commit
9a4bd122
authored
Jul 27, 2023
by
xiabo
Browse files
readme修改
parent
8646a3da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
README.md
README.md
+2
-3
No files found.
README.md
View file @
9a4bd122
...
@@ -17,7 +17,7 @@ pip install mmcv* (下载的mmcv的whl包)
...
@@ -17,7 +17,7 @@ pip install mmcv* (下载的mmcv的whl包)
1、基于光源pytorch镜像环境。镜像下载地址:
[
https://sourcefind.cn/#/image/dcu/pytorch
](
https://sourcefind.cn/#/image/dcu/pytorch
)
根据pythorch、python、dtk及系统下载对应的镜像版本。
1、基于光源pytorch镜像环境。镜像下载地址:
[
https://sourcefind.cn/#/image/dcu/pytorch
](
https://sourcefind.cn/#/image/dcu/pytorch
)
根据pythorch、python、dtk及系统下载对应的镜像版本。
2、基于自己的pyhon环境
光
。安装pytorch
。
pytorch whl包下载目录:
[
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.04
](
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.04
)
2、基于自己的pyhon环境
安装
。安装pytorch
,
pytorch whl包下载目录:
[
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.04
](
https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.04
)
根据python、dtk版本,下载对应pytorch的whl包。安装命令如下:
根据python、dtk版本,下载对应pytorch的whl包。安装命令如下:
```
shell
```
shell
pip
install
torch
*
(
下载的torch的whl包
)
pip
install
torch
*
(
下载的torch的whl包
)
...
@@ -28,9 +28,8 @@ pip install setuptools=59.5.0 wheel
...
@@ -28,9 +28,8 @@ pip install setuptools=59.5.0 wheel
-
代码下载
-
代码下载
```
shell
```
shell
git clone https://developer.hpccube.com/codes/aicomponent/mmcv
# 根据编译需要切换分支
git clone https://developer.hpccube.com/codes/aicomponent/mmcv
# 根据编译需要切换分支
cd
mmcv
```
```
-
有下面2中源码编译方式:
-
有下面2中源码编译方式
(进入mmcv目录)
:
```
```
1、 编译whl包并安装
1、 编译whl包并安装
MMCV_WITH_OPS=1 ROCM_HOME=${ROCM_PATH} python3 setup.py -v bdist_wheel
MMCV_WITH_OPS=1 ROCM_HOME=${ROCM_PATH} python3 setup.py -v bdist_wheel
...
...
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