omni-us / squeezedet-keras

Keras implementation of the Squeeze Det Object Detection Deep Learning Framework
MIT License
129 stars 41 forks source link

Module not found #23

Open madiltalay opened 5 years ago

madiltalay commented 5 years ago

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 commented 5 years ago

pip install tensorflow

madiltalay commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

You have to set path correctly.

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