-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: The prediction results using the PaddleOCR model are inconsistent between CPU and GPU inference in version 2024.04. #27532
Comments
@Algabeno Could you try to run GPU with f32 precision? You need to add |
Thank you very much for your response. This issue has been successfully resolved. |
Great! I was just troubled by the fact that using FP32 makes the model's inference speed several times slower than FP16. I'll give this a try. |
Hello, how can I use the code from (#27265)? I tried compiling the code from https://github.com/e-ddykim/openvino/tree/static_scaling, but I encountered errors during the compilation: Error:
|
@Algabeno The error doesn't seem to be related to the changes on the branch. Does the build work for ov master in your environment? If no, please check the documentation page here https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build.md @e-ddykim FYI |
OpenVINO Version
2024.04
Operating System
Windows System
Device used for inference
CPU
Framework
ONNX
Model used
PadleOCR
Issue description
When using the 2024.04 version of the C++ OpenVINO framework for image inference, I found that the results vary significantly between CPU and Intel GPU. Additionally, I observed that different Intel GPUs produce different results, while the CPU results remain consistent.
model use
inference.zip
Step-by-step reproduction
Due to confidentiality requirements, I am unable to provide my code. However, I found that when I switch between CPU and GPU, the results are inconsistent.
compiled_model_ = core_.compile_model(model, "GPU", compile_options);
use intel GPU Intel® Iris® Xe Graphics eligible
use intel GPU Intel@ UHD Graphics for 10th Gen Intel@ Processors
use intel CPU
Relevant log output
No response
Issue submission checklist
The text was updated successfully, but these errors were encountered: