onnx2rknn (picodet_s_192_pedestrian_sim.onnx 量化时出现错误)

E ValueError: Cannot reshape a tensor with 1843200 elements to shape [100,8] (800 elements) for 'Reshape_Reshape_8_32/Reshape_Reshape_8_32' (op: 'Reshape') with input shapes: [100,24,24,32], [2] and with input tensors computed as partial shapes: input[1] = [100,8].

 

 

解决:

改batchsize=1,(默认100)

 

posted on 2023-07-31 15:01  WenJXUST  阅读(41)  评论(0编辑  收藏  举报