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

tensorflow 2.1.0 error #88

Open
AlexYibeiOu opened this issue May 5, 2020 · 3 comments
Open

tensorflow 2.1.0 error #88

AlexYibeiOu opened this issue May 5, 2020 · 3 comments

Comments

@AlexYibeiOu
Copy link

macOS Catalina 10.15.4
PyCharm 2019.3.2 (Community Edition)

I used the most updated tensorflow 2.1.0 to run comes with below error:

module 'tensorflow_core._api.v2.config' has no attribute 'experimental_list_devices'

Then I downgrade to tensorflow 2.0.0 everything is good.

@salmanmanzar
Copy link

import tensorflow as tf

List available physical devices

physical_devices = tf.config.list_physical_devices()

Print the list of devices

for device in physical_devices:
print(device)

@191578010
Copy link

191578010 commented Dec 18, 2023 via email

@carlchencup
Copy link

carlchencup commented Dec 18, 2023 via email

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

4 participants