Tengine icon indicating copy to clipboard operation
Tengine copied to clipboard

tengine-lite library version: 1.5-dev Tengine FATAL: Infer node(id: 40, op: Pad) shape failed.

Open robertparley opened this issue 2 years ago • 4 comments

运行环境:Windows 编译器:minGW64 用自己的UNet分割模型进行图像分割,create_graph时候报错,信息如下:

tengine-lite library version: 1.5-dev Tengine FATAL: Infer node(id: 40, op: Pad) shape failed. Tengine: Infer shape of graph failed(-1). Prerun multithread graph failed.

模型文件是Pytorch1.x训练得到的onnx文件,www.convertmodel.com转成tmfile的 对模型的部分进行了可视化: image

robertparley avatar Jun 16 '22 09:06 robertparley

我遇到类似问题,请问如何对转换后的tmlite模型进行可视化呢?

liamsun2019 avatar Aug 30 '22 10:08 liamsun2019

似乎模型要.tmfile结尾才能用netron可视化打开

liamsun2019 avatar Aug 30 '22 10:08 liamsun2019

我遇到类似问题,请问如何对转换后的tmlite模型进行可视化呢?

我是用onnx模型可视化的,没有用tmfile。。。。。

robertparley avatar Aug 31 '22 10:08 robertparley

我也遇到差不多的问题,一个fc 和 一个unsqueeze 报了这个,不知道是不是onnx转成tmlife 有问题

nosleeve1 avatar Dec 16 '22 07:12 nosleeve1