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
detectron2
Commits
7ced6cfa
Commit
7ced6cfa
authored
Aug 29, 2024
by
limm
Browse files
fix README.md
parent
e732a12a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
README.md
README.md
+7
-6
No files found.
README.md
View file @
7ced6cfa
...
...
@@ -3,7 +3,7 @@
Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的对象检测算法
### 使用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
pip
install
detectron2
*
(
下载的detectron2的whl包
)
```
...
...
@@ -27,13 +27,14 @@ Detectron2 是 Facebook AI Research 的下一代软件系统实现最先进的
```
-
在首页 | 光合开发者社区下载 dtk2
3.10
解压在 /opt/ 路径下,并建立软连接,例如:
在
[
开发者社区
](
https://developer.hpccube.com/tool/#sdk
)
DCU Toolkit 中下载 DTK-2
3.10
解压至 /opt/ 路径下,并建立软链接
-
在首页 | 光合开发者社区下载 dtk2
4.04
解压在 /opt/ 路径下,并建立软连接,例如:
在
[
开发者社区
](
https://developer.hpccube.com/tool/#sdk
)
DCU Toolkit 中下载 DTK-2
4.04
解压至 /opt/ 路径下,并建立软链接
```
cd /opt && ln -s dtk-2
3
.04 dtk
cd /opt && ln -s dtk-2
4
.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
pip
install
torch
*
(
下载的torch的whl包
)
```
...
...
@@ -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
)
```
shell
pytho
n
pymap_script.py /path/to/detectron2
export
FORCE_CUDA
=
1
(
推荐
)
or
pytho
n
pymap_script.py /path/to/detectron2
python
-m
pip
install
-e
detectron2
```
-
方案二
...
...
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