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

ModuleNotFoundError: No module named 'tensorflow.contrib' #16

Open
AlexInJar opened this issue Apr 21, 2021 · 1 comment
Open

ModuleNotFoundError: No module named 'tensorflow.contrib' #16

AlexInJar opened this issue Apr 21, 2021 · 1 comment

Comments

@AlexInJar
Copy link

跑脚本的时候一开始就报错,似乎是tensorflow2下面不支持bert 的tensorflow.contrib了,可以问下有人知道怎么解决吗?

@SKY-bananar
Copy link

你好,你可以替换成这个试一试

!pip install bert-tensorflow==1.0.4

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

2 participants