fsdl-text-recognizer-project icon indicating copy to clipboard operation
fsdl-text-recognizer-project copied to clipboard

ModuleNotFoundError: No module named 'training'

Open internnos opened this issue 6 years ago • 3 comments

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

ModuleNotFoundError: No module named 'training'

Thanks before

internnos avatar May 16 '19 13:05 internnos

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

dogatuncay avatar May 25 '19 03:05 dogatuncay

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}}'

internnos avatar Jun 03 '19 23:06 internnos

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}}'

gitfourteen avatar Aug 11 '19 16:08 gitfourteen