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
ModelZoo
yolov9_migraphx
Commits
f9aeabad
Commit
f9aeabad
authored
May 11, 2024
by
yaoht
Browse files
fix readme
parent
5a456a2a
Pipeline
#991
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+3
-3
docker/Dockerfile
docker/Dockerfile
+1
-1
model.properties
model.properties
+1
-1
No files found.
README.md
View file @
f9aeabad
...
@@ -31,13 +31,13 @@ YOLOv9提出了新网络架构——GELAN。GELAN通过结合两种神经网络
...
@@ -31,13 +31,13 @@ YOLOv9提出了新网络架构——GELAN。GELAN通过结合两种神经网络
拉取镜像:
拉取镜像:
```
shell
```
shell
docker pull image.sourcefind.cn:5000/dcu/admin/base/migraphx:4.
0.0
-centos7.6-dtk2
3
.04
.1
-py3
8-latest
docker pull image.sourcefind.cn:5000/dcu/admin/base/migraphx:4.
2.1
-centos7.6-dtk2
4
.04-py3
10
```
```
创建并启动容器:
创建并启动容器:
```
shell
```
shell
docker run
--shm-size
16g
--network
=
host
--name
=
yolov9_migraphx
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-v
$PWD
/yolov9_migraphx:/home/yolov9_migraphx
-it
<Your Image ID> /bin/bash
docker run
--shm-size
16g
--network
=
host
--name
=
yolov9_migraphx
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-v
/opt/hyhal:/opt/hyhal:ro
-v
$PWD
/yolov9_migraphx:/home/yolov9_migraphx
-it
<Your Image ID> /bin/bash
# 激活dtk
# 激活dtk
source
/opt/dtk/env.sh
source
/opt/dtk/env.sh
...
@@ -49,7 +49,7 @@ source /opt/dtk/env.sh
...
@@ -49,7 +49,7 @@ source /opt/dtk/env.sh
cd
./docker
cd
./docker
docker build
--no-cache
-t
yolov9_migraphx:2.0
.
docker build
--no-cache
-t
yolov9_migraphx:2.0
.
docker run
--shm-size
16g
--network
=
host
--name
=
yolov9_migraphx
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-v
$PWD
/yolov9_migraphx:/home/yolov9_migraphx
-it
<Your Image ID> /bin/bash
docker run
--shm-size
16g
--network
=
host
--name
=
yolov9_migraphx
--privileged
--device
=
/dev/kfd
--device
=
/dev/dri
--group-add
video
--cap-add
=
SYS_PTRACE
--security-opt
seccomp
=
unconfined
-v
/opt/hyhal:/opt/hyhal:ro
-v
$PWD
/yolov9_migraphx:/home/yolov9_migraphx
-it
<Your Image ID> /bin/bash
# 激活dtk
# 激活dtk
source
/opt/dtk/env.sh
source
/opt/dtk/env.sh
...
...
docker/Dockerfile
View file @
f9aeabad
FROM
image.sourcefind.cn:5000/dcu/admin/base/migraphx:4.
0.0
-centos7.6-dtk2
3
.04
.1
-py3
8-latest
FROM
image.sourcefind.cn:5000/dcu/admin/base/migraphx:4.
2.1
-centos7.6-dtk2
4
.04-py3
10
RUN
source
/opt/dtk/env.sh
RUN
source
/opt/dtk/env.sh
model.properties
View file @
f9aeabad
#模型唯一标识符
#模型唯一标识符
modelCode
=
1546
modelCode
=
629
#模型名称
#模型名称
modelName
=
yolov9_migraphx
modelName
=
yolov9_migraphx
#模型描述
#模型描述
...
...
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