Monday-Leo/Paddle_tutorial

你调通ppyolo的onnx了吗?

Opened this issue · 3 comments

我下游任务还是报TypeError: 'str' object cannot be interpreted as an integer
在服务器上运行,报警告:
2022-03-31 09:19:31.619078092 [W:onnxruntime:, graph.cc:3526 CleanUnusedInitializersAndNodeArgs] Removing initializer 'Constant_113'. It is not used by any node and should be removed from the model.
2022-03-31 09:19:31.985730911 [W:onnxruntime:, execution_frame.cc:811 VerifyOutputSizes] Expected shape from model of {8400,6} does not match actual shape of {100,6} for output multiclass_nms3_0.tmp_0

我也不太清楚你这个是什么问题,可以参考一下我在paddledetection上提的issue,目前已经能够跑通ppyoloe。https://github.com/PaddlePaddle/PaddleDetection/issues/5544

我也不太清楚你这个是什么问题,可以参考一下我在paddledetection上提的issue,目前已经能够跑通ppyoloe。https://github.com/PaddlePaddle/PaddleDetection/issues/5544

那你在服务器端会报我这两个警告吗

这两个警告是正常的,不用担心,Constant_113可以通过onnxsimplier简化掉,第二个警告也不用管,不影响最后的结果。