-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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]: OpenVINO CPU gave inconsistent results with TensorFlow Keras for the GlobalAveragePooling2D #20815
Comments
BTW, |
PR: #21439 |
@jikechao, there is one more bug in CPU plugin. Once my PR is merged, I will move it to CPU plugin team. There is also problem with Best regards, |
@rkazants, I understood! Thank you for your explanation. |
Hi @mg-intel, I fixed the first part of the issue when TF FE was unable to handle int8 type. #21439 was merged. Now it comes to the second issue on the CPU side.
OV reports 1 and TF reports 0 in the result. Now I re-assign this to CPU to align it with TF. Best regards, |
### Details: - *vdivps instruction rounds to the nearest value. Here we append vroundps instruction to make the result round towards zero, to align behavior with Plugins/Frameworks.* - *Add the test case that can reproduce the issue beforehand.* ### Tickets: - *[issue#20815](#20815
@xuchen-intel Thanks for your efforts! |
### Details: - *vdivps instruction rounds to the nearest value. Here we append vroundps instruction to make the result round towards zero, to align behavior with Plugins/Frameworks.* - *Add the test case that can reproduce the issue beforehand.* ### Tickets: - *[issue#20815](openvinotoolkit#20815
OpenVINO Version
2023.1.0-12185-9e6b00e51cd-releases/2023/1
Operating System
Ubuntu 18.04 (LTS)
Device used for inference
CPU
Framework
Keras (TensorFlow 2)
Model used
self defined model shown in the following script
Issue description
OpenVINO and Keras gave different inference results about the model containing
GlobalAveragePooling2D
operator.Specifically, only OpenVINO using the CPU for inference gave different results with OpenVINO(GPU) and PyTorch(CPU/GPU).
Step-by-step reproduction
Relevant log output
Issue submission checklist
The text was updated successfully, but these errors were encountered: