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

ImportError: No module named 'tensorflow.python.distribute.cross_device_ops' #11

Closed
LeoWood opened this issue Sep 17, 2019 · 6 comments
Closed
Labels
wontfix This will not be worked on

Comments

@LeoWood
Copy link

LeoWood commented Sep 17, 2019

When I ran the script run_custom_classifier.py, the error occured:
ImportError: No module named 'tensorflow.python.distribute.cross_device_ops'

python: 3.5.2
tensorflow-gpu: 1.11.0
ubuntu 16.04

How can I handle this?
Thanks

@LeoWood
Copy link
Author

LeoWood commented Sep 17, 2019

image

@haoyuhu
Copy link
Owner

haoyuhu commented Sep 17, 2019

Please try upgrading TensorFlow to 1.14.

@stale
Copy link

stale bot commented Oct 17, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 17, 2019
@stale stale bot closed this as completed Oct 24, 2019
@shishishu
Copy link
Contributor

Please try upgrading TensorFlow to 1.14.

Yep, it succeed with this suggestions. Thanks Haha.

@bigzhouj
Copy link

bigzhouj commented Feb 27, 2020

Tensorflow version 1.15does not work,only 1.14?

@haoyuhu
Copy link
Owner

haoyuhu commented Feb 27, 2020

Tensorflow version 1.15does not work,only 1.14?

TF verison above 1.14 is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants