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

Module not found #23

Open
madiltalay opened this issue Jan 31, 2019 · 4 comments
Open

Module not found #23

madiltalay opened this issue Jan 31, 2019 · 4 comments

Comments

@madiltalay
Copy link

I am trying to run the following training part:
python ../../scripts/train.py --init ../../main/model/imagenet.h5

But it is neither detecting the 'main', nor the 'tensorflow', giving:
ModuleNotFoundError: no module named main
ModuleNotFoundError: no module named tensorflow

Can you please help?

Thank you!

@dgtlmoon
Copy link

dgtlmoon commented Mar 1, 2019

pip install tensorflow

@madiltalay
Copy link
Author

That problem solved, now I face another problem running the same command:

python scripts/train.py --init main/model/imagenet.h5
Traceback (most recent call last):
File "scripts/train.py", line 9, in
from main.model.squeezeDet import SqueezeDet
ImportError: No module named main.model.squeezeDet

@Aaronreb
Copy link

Aaronreb commented Jul 8, 2019

That problem solved, now I face another problem running the same command:

python scripts/train.py --init main/model/imagenet.h5
Traceback (most recent call last):
File "scripts/train.py", line 9, in
from main.model.squeezeDet import SqueezeDet
ImportError: No module named main.model.squeezeDet

Hi, did you solve this problem?

@mpaluy
Copy link

mpaluy commented Sep 8, 2019

You have to set path correctly.

See: export PYTHONPATH=path/to/squeezedet in setup guide

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