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

need to specify python version and tensorflow version #1

Closed
ghost opened this issue Nov 25, 2019 · 2 comments
Closed

need to specify python version and tensorflow version #1

ghost opened this issue Nov 25, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 25, 2019

When running albert/run_classifier_inews.sh, I got this error:

AttributeError: module 'tensorflow_core._api.v2.train' has no attribute 'Optimizer‘

I guess this is caused by Tensorflow version, I'm using tensorflow 2.0. However, I don't know exactly which version used in the example codes.

@ghost
Copy link
Author

ghost commented Nov 25, 2019

python version is 3.x, 3.7 is ok
Tensorflow is about 1.15

@ghost ghost closed this as completed Nov 25, 2019
@brightmart
Copy link
Member

yeah. we will add.

This issue was closed.
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