Commit f78f29f5 authored by panning's avatar panning
Browse files

update readme

parent 9134838e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#### **使用pip方式安装** #### **使用pip方式安装**
vision whl包下载位置:[vision | 光合开发者社区](https://cancon.hpccube.com:65024/4/main/vision),进入对应DTK目录(dtk23.04)根据Python版本选择安装包。 vision whl包下载位置:[vision | 光合开发者社区](https://cancon.hpccube.com:65024/4/main/vision),进入对应DTK目录(dtk23.10)根据Python版本选择安装包。
```bash ```bash
pip3 install torchvision* pip3 install torchvision*
...@@ -31,14 +31,14 @@ pip3 install torchvision* ...@@ -31,14 +31,14 @@ pip3 install torchvision*
pip3 install wheel pip3 install wheel
``` ```
-[首页 | 光合开发者社区](https://cancon.hpccube.com:65024/1/main)下载 dtk23.04 解压至 /opt/ 路径下,并建立软链接 -[首页 | 光合开发者社区](https://cancon.hpccube.com:65024/1/main)下载 dtk23.10 解压至 /opt/ 路径下,并建立软链接
``` ```
cd /opt && ln -s dtk-23.04 dtk cd /opt && ln -s dtk-23.10 dtk
source /opt/dtk/env.sh source /opt/dtk/env.sh
``` ```
-[pytorch | 光合开发者社区](https://cancon.hpccube.com:65024/4/main/pytorch)下载对应的 pytorch安装包(需对应dtk23.04版本与 Python版本) -[pytorch | 光合开发者社区](https://cancon.hpccube.com:65024/4/main/pytorch)下载对应的 pytorch安装包(需对应dtk23.10版本与 Python版本)
``` ```
pip3 install torch* pip3 install torch*
...@@ -47,7 +47,7 @@ pip3 install torchvision* ...@@ -47,7 +47,7 @@ pip3 install torchvision*
##### 编译安装 ##### 编译安装
```bash ```bash
git clone -b dtk-23.04-v0.14.1 http://developer.hpccube.com/codes/aicomponent/vision.git git clone -b dtk-23.10-v0.14.1 http://developer.hpccube.com/codes/aicomponent/vision.git
cd vision cd vision
PYTORCH_ROCM_ARCH="gfx906;gfx926" python3 setup.py bdist_wheel PYTORCH_ROCM_ARCH="gfx906;gfx926" python3 setup.py bdist_wheel
pip3 install dist/vision* pip3 install dist/vision*
......
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