Commit 7ced6cfa authored by limm's avatar limm
Browse files

fix README.md

parent e732a12a
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的对象检测算法 Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的对象检测算法
### 使用pip方式安装 ### 使用pip方式安装
- detectron2 whl包下载目录:[http://10.6.10.68:8000/customized/detectron2/dtk2310/](http://10.6.10.68:8000/customized/detectron2/dtk2310/). 目前只提供有python3.8, pytorch2.1版本的安装包 (内网whl包安装) - detectron2 whl包下载目录:[http://10.6.10.68:8000/customized/detectron2/dtk2310/](http://10.6.10.68:8000/customized/detectron2/dtk2310/). 目前只提供有python3.8, pytorch2.1版本的安装包 (内网whl包安装, 不保证链接一直有效,无安装包推荐源码编译)
```shell ```shell
pip install detectron2* (下载的detectron2的whl包) pip install detectron2* (下载的detectron2的whl包)
``` ```
...@@ -27,13 +27,14 @@ Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的 ...@@ -27,13 +27,14 @@ Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的
``` ```
- 在首页 | 光合开发者社区下载 dtk23.10 解压在 /opt/ 路径下,并建立软连接,例如: - 在首页 | 光合开发者社区下载 dtk24.04 解压在 /opt/ 路径下,并建立软连接,例如:
[开发者社区](https://developer.hpccube.com/tool/#sdk) DCU Toolkit 中下载 DTK-23.10 解压至 /opt/ 路径下,并建立软链接 [开发者社区](https://developer.hpccube.com/tool/#sdk) DCU Toolkit 中下载 DTK-24.04 解压至 /opt/ 路径下,并建立软链接
``` ```
cd /opt && ln -s dtk-23.04 dtk cd /opt && ln -s dtk-24.04 dtk
``` ```
- 安装pytorch. pytorch whl包下载目录: [开发者社区](https://cancon.hpccube.com:65024/4/main/pytorch). 根据需求下载对应的版本,安装如下: - 安装pytorch. pytorch whl包下载目录: [开发者社区](https://cancon.hpccube.com:65024/4/main/pytorch). 根据需求下载对应的版本,
操作以内网为例[http://10.6.10.68:8000/debug/pytorch/dtk24.04/torch-2.1.0%2Bdas.opt1.dtk24040-cp310-cp310-linux_x86_64.whl](http://10.6.10.68:8000/debug/pytorch/dtk24.04/torch-2.1.0%2Bdas.opt1.dtk24040-cp310-cp310-linux_x86_64.whl)只提供例子,具体需要根据环境安装不同的whl包 安装如下:
```shell ```shell
pip install torch* (下载的torch的whl包) pip install torch* (下载的torch的whl包)
``` ```
...@@ -41,7 +42,7 @@ Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的 ...@@ -41,7 +42,7 @@ Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的
- 方案一 - 方案一
下载转码脚本pymap_script.py,[http://10.6.10.68:8000/debug/pytorch/dtk23.10/hipify](http://10.6.10.68:8000/debug/pytorch/dtk23.10/hipify) 下载转码脚本pymap_script.py,[http://10.6.10.68:8000/debug/pytorch/dtk23.10/hipify](http://10.6.10.68:8000/debug/pytorch/dtk23.10/hipify)
```shell ```shell
python pymap_script.py /path/to/detectron2 export FORCE_CUDA=1 (推荐) or pytho npymap_script.py /path/to/detectron2
python -m pip install -e detectron2 python -m pip install -e detectron2
``` ```
- 方案二 - 方案二
......
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