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

ModuleNotFoundError: No module named 'training' #5

Open
internnos opened this issue May 16, 2019 · 3 comments
Open

ModuleNotFoundError: No module named 'training' #5

internnos opened this issue May 16, 2019 · 3 comments

Comments

@internnos
Copy link

I've followed every instructions on the tutorial, however, this error keeps popping

ModuleNotFoundError: No module named 'training'

Thanks before

@dogatuncay
Copy link

I had to same issue. I setup python path to include the current directory to fix it. (export PYTHONPATH=.) or you can run the pipenv command as a temp solution PYTHONPATH=. pipenv run python text_recognizer/datasets/emnist_dataset.py I hope it works

@internnos
Copy link
Author

I had to same issue. I setup python path to include the current directory to fix it. (export PYTHONPATH=.) or you can run the pipenv command as a temp solution PYTHONPATH=. pipenv run python text_recognizer/datasets/emnist_dataset.py I hope it works

Thanks a bunch !!! but the strange thing is, it doesn't seem to found numpy ... I've checked using pip freeze and they in fact, exist. do you have the same issue? I'm trying to run this command btw

pipenv run training/run_experiment.py --save '{"dataset": "EmnistDataset", "model": "CharacterModel", "network": "mlp", "train_args": {"batch_size": 256}}'

@gitfourteen
Copy link

gitfourteen commented Aug 11, 2019

I had to same issue. I setup python path to include the current directory to fix it. (export PYTHONPATH=.) or you can run the pipenv command as a temp solution PYTHONPATH=. pipenv run python text_recognizer/datasets/emnist_dataset.py I hope it works

Thanks a bunch !!! but the strange thing is, it doesn't seem to found numpy ... I've checked using pip freeze and they in fact, exist. do you have the same issue? I'm trying to run this command btw

pipenv run training/run_experiment.py --save '{"dataset": "EmnistDataset", "model": "CharacterModel", "network": "mlp", "train_args": {"batch_size": 256}}'

Prefix PYTHONPATH='.' and add python following pipenv run to the above command:
PYTHONPATH='.' pipenv run python training/run_experiment.py --save '{"dataset": "EmnistDataset", "model": "CharacterModel", "network": "mlp", "train_args": {"batch_size": 256}}'

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

3 participants