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

引用的bert4keras会报错 #23

Open
myinvoke opened this issue Nov 18, 2021 · 6 comments
Open

引用的bert4keras会报错 #23

myinvoke opened this issue Nov 18, 2021 · 6 comments

Comments

@myinvoke
Copy link

AttributeError: module 'keras.utils' has no attribute 'get_custom_objects'

@bojone
Copy link

bojone commented Dec 29, 2021

什么版本tf和keras

@ann22
Copy link

ann22 commented Jul 1, 2022

我也会遇到这个错,tf2.6 keras 2.6

@bojone
Copy link

bojone commented Jul 1, 2022

暂不支持这么高的版本。

推荐使用tf 1.15,以及真正的keras(keras<=2.3.1),大于此版本的keras都是假的keras(披着keras皮的tf.keras)

@ann22
Copy link

ann22 commented Jul 1, 2022

暂不支持这么高的版本。

推荐使用tf 1.15,以及真正的keras(keras<=2.3.1),大于此版本的keras都是假的keras(披着keras皮的tf.keras)

好吧,线上的cuda版本比较高

@bojone
Copy link

bojone commented Jul 1, 2022

cuda11也可以用tf 1.15。https://github.com/NVIDIA/tensorflow

@ann22
Copy link

ann22 commented Jul 1, 2022

cuda11也可以用tf 1.15。https://github.com/NVIDIA/tensorflow

好的,感谢,我试试

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