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

error when using train_dist.py #7

Closed
Altheim opened this issue Sep 18, 2021 · 1 comment
Closed

error when using train_dist.py #7

Altheim opened this issue Sep 18, 2021 · 1 comment

Comments

@Altheim
Copy link

Altheim commented Sep 18, 2021

when I use tensorflow 2.4:
AttributeError: 'MirroredStrategy' object has no attribute 'experimental_run_v2'
I need to downgrade to tensorflow 2.0

when I use tensorflow 2.0:
ImportError:cannot import name 'keras_tensor' from 'tensorflow.python.keras.engine' (/home/ivdai/anaconda3/envs/IIVI/lib/python3.7/site-packages/tensorflow_core/python/keras/engine/init.py)
I need to upgrade to tensorflow 2.4

funny

@Altheim
Copy link
Author

Altheim commented Sep 18, 2021

it works with tensoflow-gpu=2.0.0 and tensorflow-addons=0.6.0

@Altheim Altheim closed this as completed Sep 18, 2021
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