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 v2 & linting #91

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SamuelMarks
Copy link
Contributor

No description provided.

@rom1504
Copy link

rom1504 commented Feb 8, 2020

is this necessary ? this module works fine for me on TF2

@SamuelMarks
Copy link
Contributor Author

You'll get warnings or errors without the tf.compat variants of tf.compat.v1.Session() and tf.compat.v1.global_variables_initializer().

E.g., look at their source code https://github.com/tensorflow/tensorflow/blob/r2.1/tensorflow/python/client/session.py#L1511-L1676

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

Successfully merging this pull request may close these issues.

None yet

2 participants