Paddle_tutorial icon indicating copy to clipboard operation
Paddle_tutorial copied to clipboard

你调通ppyolo的onnx了吗?

Open sdreamforchen opened this issue 3 years ago • 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

sdreamforchen avatar Mar 31 '22 09:03 sdreamforchen

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

Monday-Leo avatar Mar 31 '22 11:03 Monday-Leo

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

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

sdreamforchen avatar Apr 02 '22 08:04 sdreamforchen

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

Monday-Leo avatar Apr 02 '22 14:04 Monday-Leo