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

The Error When I debug the file of " example_feat_extract.py" #4

Open
yingning opened this issue Sep 27, 2017 · 2 comments
Open

The Error When I debug the file of " example_feat_extract.py" #4

yingning opened this issue Sep 27, 2017 · 2 comments

Comments

@yingning
Copy link

Hello , firstly, thanks for your shared code!
The following are Error when I debug the file of "example_feat_extract.py" :

File "/home/jsj/TF_FeatureExtraction/example_feat_extract.py", line 25, in
import feature_extractor.utils as utils
File "/home/jsj/TF_FeatureExtraction/feature_extractor/utils.py", line 23, in
from datasets import imagenet
ImportError: No module named datasets

Do I need to creat a file of dataset and then download the imagenet data? Any suggestion will be appreciated!@tomrunia

@tomrunia
Copy link
Owner

Hi, no you just need to make sure it can find the datasets package included in the tensorflow/datasets repository. It seems like they recently changed the file structure of that repository, but you can find those files here: https://github.com/tensorflow/models/tree/master/research/slim. Just add that path to your PYTHONPATH and you should be fine :)

@yingning
Copy link
Author

Thanks you for your response ! Your suggestion works well! @tomrunia

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