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

Train issue:No module named keras.backend #38

Open
yff0815 opened this issue Dec 6, 2018 · 1 comment
Open

Train issue:No module named keras.backend #38

yff0815 opened this issue Dec 6, 2018 · 1 comment

Comments

@yff0815
Copy link

yff0815 commented Dec 6, 2018

yff@Yff:~/PycharmProjects/Tf_DeblurGAN$ python scripts/train.py --n_images=512 --batch_size=16 --log_dir /path/to/log/dir Traceback (most recent call last): File "scripts/train.py", line 8, in <module> from deblurgan.losses import wasserstein_loss, perceptual_loss File "/home/yff/PycharmProjects/Tf_DeblurGAN/deblurgan/losses.py", line 1, in <module> import keras.backend as K ImportError: No module named keras.backend
ImportError: No module named keras.backend

I don't know why可是我已经加载了keras模块没问题

@yff0815
Copy link
Author

yff0815 commented Apr 26, 2019

work out!It's the installation environment question~
Reinstall the environment and the problem is solved.

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

1 participant