Commit 58222d78 authored by zhanggzh's avatar zhanggzh
Browse files

Update README file

parent 8b268e40
......@@ -9,13 +9,24 @@
```
ResNet50-v2
```
## 数据集及模型文件
## 模型文件
模型文件下载地址:
```
"https://github.com/onnx/models/raw/main/vision/classification/resnet/model/resnet50-v2-7.onnx"
```
## 数据集
python 推理及调优代码使用的图片数据为:
```
"https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
```
标签数据为:
```
"https://s3.amazonaws.com/onnx-model-zoo/synset.txt"
```
C++部署代码使用数据为:
```
"https://github.com/ultralytics/yolov5/releases/download/v1.0/coco128.zip"
```
## 推理、自动调优及部署
### 环境配置
拉取镜像:
......
......@@ -72,7 +72,7 @@ def readimage(pathOfImage,GRAY=False,inputShape=[1,3,128,128]):
#Download the image data, then convert it to a numpy array to use as an input to the model.
#img_url = "https://s3.amazonaws.com/model-server/inputs/kitten.jpg"
img_path = "/kittens.jpg"
img_path = "/kitten.jpg"
#img_path = download_testdata(img_url, "imagenet_cat.png", module="data")
network = "resnet50-v2-7"
dtype = "float32"
......
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