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
[Good First Issue][TF FE]: Fix IndexError list index out of range for Squeeze #22078
Comments
@rkazants If no one has been assigned yet, could I work on this issue? |
Hi @abhinav231-valisetti, sure. The task is yours. Best regards, |
Can i also work on this issue? I think i have an probable solution |
Hi @vikasgrewal16 it will be great help for me to get your inputs on this issue. |
Fyi, please use new link to join Intel DevHub Discord server, if you have not yet joined. The previous one is outdated. Best regards, |
Hi @abhinav231-valisetti, do you have any update on this task? Please let me know in case questions and you can create a preliminary PR to discuss. Best regards, |
Hello @rkazants, I have addressed the current issue, and the bug fix seems to be effective for the tensorflow Model link provided in the example. Could you please share links for other models so I can verify the accuracy of the fix? |
Hi @abhinav231-valisetti, sounds great. Take a look at this list of models https://github.com/openvinotoolkit/openvino/blob/master/tests/model_hub_tests/tf_hub_tests/nightly_models, where you can find models failing due to "IndexError list index out of range for Squeeze". Of course, some of them can start to fail due to different reason after your fix and it is a separate story to fix:) Best regards, |
Hi @rkazants Thank you for the resource, I will run the tests and create a PR asap. |
Hi @rkazants , To fix this bug, I have modified the code in the openvino-*.whl file, which is a Python library. However, this wheel file was generated after building it using CMake. I am looking for guidance to locate the exact files that need to be modified, so that when I rebuild the project, the updated code is included in the openvino-*.whl file. This where i made changes to fix the bug, |
Hi @abhinav231-valisetti, you can find this file here: https://github.com/openvinotoolkit/openvino/tree/master/src/bindings/python/src/openvino/frontend/tensorflow. Please create PR with your changes. Best regards, |
@abhinav231-valisetti, congratulations, your PR was merged. Best regards, |
Thank you, @rkazants, for all the guidance throughout the process. |
Context
OpenVINO component responsible for support of TensorFlow models is called as TensorFlow Frontend (TF FE). TF FE converts a model represented in TensorFlow opset to a model in OpenVINO opset.
We have 23 models from TensorFlow Hub that are failing due to issue
IndexError list index out of range for Squeeze
. Your fix greatly helps to make OpenVINO better.What needs to be done?
The task is to fix a problem
IndexError list index out of range for Squeeze
.How to reproduce the issue:
openvino-*.whl
package usingpip
. You can find the package inopenvino/build/wheels
directory. Do not installopenvino-dev-*.whl
package. Also, it is recommended to use new virtual environment to avoid mess with previously installed OV packages in the system.Received error message:
Resources
Contact points
@openvinotoolkit/openvino-tf-frontend-maintainers
The text was updated successfully, but these errors were encountered: