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: No module named 'object_detection' #31

Open
VincentDuf opened this issue Nov 26, 2018 · 1 comment
Open

ImportError: No module named 'object_detection' #31

VincentDuf opened this issue Nov 26, 2018 · 1 comment

Comments

@VincentDuf
Copy link

VincentDuf commented Nov 26, 2018

Hi,
I'm trying to use the repository to test TF-TRT on the JetsonTX2 but when using python3 I try this:
from tf_trt_models.detection import download_detection_model

I get the error ImportError: No module named 'object_detection'

What is weird is when I try the same command but in python (not python3), I have another error:
ImportError: No module named google.protobuf
The installation went all well, some ideas ?
Thanks

@Sri-vatsa
Copy link

Add the path to object_detection in your terminal.

export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim

This is also outlined in Tensorflow Object detection API here

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

2 participants