Skip to content

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.

2 participants