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
Mobilenet_v2_tvm
Commits
eba1b174
Commit
eba1b174
authored
Nov 16, 2023
by
dcuai
Browse files
Update README.md
parent
1662de51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
README.md
README.md
+5
-3
No files found.
README.md
View file @
eba1b174
...
...
@@ -32,13 +32,13 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:tvm-0.11_fp32_cpp_dtk
```
创建并启动容器
```
docker run --shm-size 16g --network=host --name=mobilenet_v2 --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/mobilenetv2_tvm:/home/mobilenetv2_tvm -it <Your Image ID> /bin/bash
docker run --shm-size 16g --network=host --name=mobilenet_v2 --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/mobilenet
_
v2_tvm:/home/mobilenet
_
v2_tvm -it <Your Image ID> /bin/bash
# 激活dtk
source /opt/dtk/env.sh
```
## 模型文件
##
#
模型文件
模型文件下载地址:
```
"https://github.com/onnx/models/blob/main/vision/classification/mobilenet/model/mobilenetv2-7.onnx"
...
...
@@ -64,7 +64,7 @@ python 推理及调优代码使用的图片数据为:
```
## 单卡部署推理测试
##
#
单卡部署推理测试
下载配置好镜像之后,cd /tvm-0.11-dev0/apps/ 进入该路径下,将代码下载放到该路径下,cd tvm_tune_resnet50-v2/ 进入该路径后,
执行以下命令:
```
...
...
@@ -79,6 +79,8 @@ python 推理及调优代码使用的图片数据为:
max_iter:0x106028a4
max_num_index:161
```
## results
## 应用场景
### 算法类别
...
...
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