Skip to content
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

ImportError: cannot import name 'eval_pb2' from 'object_detection.protos' #145

Open
stnridy opened this issue Jun 23, 2023 · 4 comments
Open

Comments

@stnridy
Copy link

stnridy commented Jun 23, 2023

Hi. May I know if there is any WA to bypass this ImportError?

image
@MuhammadSaad-ml
Copy link

well the issue can be due to few reasons

  1. Make sure you have all the required dependencies installed and also double check the packages so that there are no conflicts between the packages
  2. Check the eval_pb2 file in the folder for e.g mine is here /Users/muhammadsaad/opt/anaconda3/envs/tensor/lib/python3.7/site-packages/object_detection/protos if it didn't exist then you haven't install the right version
  3. check the version compatibility of tf,object detection and the related libraries so that it don't have any conflicting issues
    I hope it helps . let me know if you need further assistance

@stnridy
Copy link
Author

stnridy commented Jun 26, 2023

Hi. I am able to fix this. Thanks for your help!

@manan-bedi2908
Copy link

Hi @stnridy,
Can you please tell what did you do to resolve this issue

@Irboen
Copy link

Irboen commented Apr 25, 2024

Hi, I am also having the same exact issue as @stnridy. I have checked whether eval_pb2 actually existed on my object_detection/protos file or not, and yes it is there. I am stuck and not sure on what to do. Can someone please help me, Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants