模型输入的形状:输入是[0,1,224,224],其维度为0。请指定输入形状参数

用户您好,请详细描述您所遇到的问题。

1.硬件获取渠道:

2.当前系统镜像版本:v1.86

3.当前天工开物版本:1.5.6

4.问题定位:01_check.sh 的结果显示 我这边生成的 .onnx 文件 无法使用

5.开发的demo/案例:ERROR The shape of model input:input is [0, 1, 224, 224] which has dimensions of 0. Please specify input-shape parameter.

6.需要提供的解决方案:请提示我应该如何修改 .onnx 模型

spiderman用户您好,缺失了batch的信息,需要设置为[1,1,224,224]