Monday-Leo / Paddle_tutorial

A Simple CV Tutorial based on Paddle.Get started!😁
84 stars 54 forks source link

你调通ppyolo的onnx了吗? #2

Open sdreamforchen opened 2 years ago

sdreamforchen commented 2 years ago

我下游任务还是报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

Monday-Leo commented 2 years ago

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

sdreamforchen commented 2 years ago

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

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

Monday-Leo commented 2 years ago

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