Accuracy on cpp infer is lower compared to python infer. why ? how to fix? #16006
Replies: 5 comments 8 replies
-
Which branch of PaddleOCR are you using and what version of PaddlePaddle? PS: The code formatting is chaotic and makes it difficult to read. If possible, please use backticks to enclose the code. THX! |
Beta Was this translation helpful? Give feedback.
-
i am using latest paddleocr version = 3.0.2 and paddlepaddle-gpu 3.0.0 |
Beta Was this translation helpful? Give feedback.
-
In the Python script, the target images are sorted, but in the C++ script, they are not.
Can it be ensured that the images correspond correctly to the ground truth when using the C++ script for inference? |
Beta Was this translation helpful? Give feedback.
-
And, please paste the contents of the |
Beta Was this translation helpful? Give feedback.
-
And, could you please provide an image for which the Python prediction is correct but the C++ prediction is incorrect? I need it to reproduce the issue you discovered. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have exported the model and created a cpp infer script which will print accuracy.
- the accuracy i got here is 97.85 and on python infer i got 99% accuracy.
how to improve the accuracy on cpp infer.
Beta Was this translation helpful? Give feedback.
All reactions