Commit eba1b174 authored by dcuai's avatar dcuai
Browse files

Update README.md

parent 1662de51
...@@ -32,13 +32,13 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:tvm-0.11_fp32_cpp_dtk ...@@ -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 # 激活dtk
source /opt/dtk/env.sh source /opt/dtk/env.sh
``` ```
## 模型文件 ### 模型文件
模型文件下载地址: 模型文件下载地址:
``` ```
"https://github.com/onnx/models/blob/main/vision/classification/mobilenet/model/mobilenetv2-7.onnx" "https://github.com/onnx/models/blob/main/vision/classification/mobilenet/model/mobilenetv2-7.onnx"
...@@ -64,7 +64,7 @@ python 推理及调优代码使用的图片数据为: ...@@ -64,7 +64,7 @@ python 推理及调优代码使用的图片数据为:
``` ```
## 单卡部署推理测试 ### 单卡部署推理测试
下载配置好镜像之后,cd /tvm-0.11-dev0/apps/ 进入该路径下,将代码下载放到该路径下,cd tvm_tune_resnet50-v2/ 进入该路径后, 下载配置好镜像之后,cd /tvm-0.11-dev0/apps/ 进入该路径下,将代码下载放到该路径下,cd tvm_tune_resnet50-v2/ 进入该路径后,
执行以下命令: 执行以下命令:
``` ```
...@@ -79,6 +79,8 @@ python 推理及调优代码使用的图片数据为: ...@@ -79,6 +79,8 @@ python 推理及调优代码使用的图片数据为:
max_iter:0x106028a4 max_iter:0x106028a4
max_num_index:161 max_num_index:161
``` ```
## results
## 应用场景 ## 应用场景
### 算法类别 ### 算法类别
......
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