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的版本应该是多少? #25

Open
zhangxc666 opened this issue Jun 17, 2023 · 2 comments
Open

本次课程的TensorFlow的版本应该是多少? #25

zhangxc666 opened this issue Jun 17, 2023 · 2 comments

Comments

@zhangxc666
Copy link

我使用2.4的版本,运行C2_W2_Lab02报错AttributeError: module 'tensorflow.keras.layers' has no attribute 'Normalization',升级版本到2.6又继续报这个cannot import name 'dtensor' from 'tensorflow.compat.v2.experimental' `错误。正确的TensorFlow版本应该是多少,requirement.txt里面也没有。

@Taxalfer
Copy link

版本太高了,如果你使用的python是3.7.6版本的话,直接使用pip安装应该得到的是2.11版本

@xpenxpen
Copy link

xpenxpen commented Feb 8, 2024

本人测试通过版本:
python 3.9.10
tensorflow 2.8.0
keras 2.8.0
protobuf 3.20.0

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

3 participants