Commit 9a4bd122 authored by xiabo's avatar xiabo
Browse files

readme修改

parent 8646a3da
...@@ -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环境。安装pytorchpytorch whl包下载目录:[https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.04](https://cancon.hpccube.com:65024/4/main/pytorch/dtk23.04) 2、基于自己的pyhon环境安装。安装pytorchpytorch 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment