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

tf.logging does not exists in TF 2.0 #39

Closed
Bidek56 opened this issue Jan 5, 2020 · 1 comment
Closed

tf.logging does not exists in TF 2.0 #39

Bidek56 opened this issue Jan 5, 2020 · 1 comment

Comments

@Bidek56
Copy link

Bidek56 commented Jan 5, 2020

tf.logging was removed from TF 2.0 but albert_tokenization.py has few instances of tf.logging, I suggest changing it to tf.compat.v1.logging or replacing it with absl-py as per docs.

@kpe
Copy link
Owner

kpe commented Jan 6, 2020

fixed with 032eda1 by importing compat.v1 (i.e. merging from google-research/ALBERT).

@kpe kpe closed this as completed Jan 6, 2020
kpe added a commit that referenced this issue Jan 6, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
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