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

Error when running the example_feat_extract.py #10

Open
berryweinst opened this issue Jan 20, 2018 · 3 comments
Open

Error when running the example_feat_extract.py #10

berryweinst opened this issue Jan 20, 2018 · 3 comments

Comments

@berryweinst
Copy link

Hi,
Maybe I'm missing something but after following the 3 steps + cloning the 'TF_FeatureExtraction' git itself. I run:
python example_feat_extract.py --network resnet_v1_50 --checkpoint ../resnet_v1_50.ckpt --image_path ../../studies/ECoG/video_data/frames/ --out_file ../features.h5 --num_classes 1000 --layer_names resnet_v1_50/logits

and getting this error:
Traceback (most recent call last):
File "example_feat_extract.py", line 24, in
from feature_extractor.feature_extractor import FeatureExtractor
File "/Users/berryweinstein/tensorflow/TF_FeatureExtraction/feature_extractor/feature_extractor.py", line 20, in
from nets import nets_factory
ModuleNotFoundError: No module named 'nets'

Can you please advise?

@Soldelli
Copy link

I have the same problem, have anyone found a solution?

@hamjam
Copy link

hamjam commented Sep 7, 2018

Are you sure about cloning tensorflow/models and setting $PYTHONPATH variable turely?

@HetSP07
Copy link

HetSP07 commented Sep 18, 2018

You should fix the path
export PYTHONPATH="<checkout_dir>/research/slim:$PYTHONPATH"

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