算能科技
直播中

陈燕

7年用户 1081经验值
私信 关注
[问答]

输入shape是变长的,转bmodel成功,调用的时候出错是怎么回事?

输入shape是变长的,转bmodel成功,调用的时候出错
[BMRT][launch:841] ERROR : Shapes of the input tensors are not supported
[2022-11-04 18:13:36.918] [error] [graph.cpp:569] bmrt_launch_tensor_ex() err
ValueError: number of dimensions must be within [0, 32],
我确定转bmodel的时候最大shape设置的[1, 3, 32, 640]
此时输入图像shape为(1, 3, 32, 241)
ps:定长不出错;

更多回帖

发帖
×
20
完善资料,
赚取积分