update img2bin/Readme.md.

This commit is contained in:
HuaweiAscend
2020-07-10 18:56:30 +08:00
committed by Gitee
parent fabe954a10
commit d9d338a3e7
+1 -1
View File
@@ -1,7 +1,7 @@
# img2bin
img2bin能够生成模型推理所需的输入数据,以.bin格式保存。
有两类数据,一类是图片数据,另一类是模型需要的第二个输入数据,如fasterrcnn的第二个输入是图片的shape信息。
有两类数据,一类是图片数据,另一类是模型需要的第二个输入数据,如fasterrcnn的第二个输入是图片的shape信息。
图片缩放采用的是等比例缩放,空余的地方用0填充。
## 前提条件