Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

tf.GraphKeys.VARIABLES is deprecated #37

Closed
mrry opened this issue Dec 5, 2016 · 1 comment
Closed

tf.GraphKeys.VARIABLES is deprecated #37

mrry opened this issue Dec 5, 2016 · 1 comment

Comments

@mrry
Copy link

mrry commented Dec 5, 2016

This question on Stack Overflow observes that using Pretty Tensor with the latest version of TensorFlow will lead to uninitialized variable errors. As far as I can tell, the problem stems from using tf.GraphKeys.VARIABLES as the default variable collection, which doesn't work with the (new) recommended way to initialize all variables (tf.global_variables_initializer().

Can you please update the implementation to use tf.GraphKeys.GLOBAL_VARIABLES, to match the default TensorFlow implementation, or suggest a workaround? Thanks!

@eiderman
Copy link
Contributor

eiderman commented Dec 7, 2016

Thanks for the bug, some of the changes in v0.12 were not backwards compatible and so I needed to cut a new release. Please reopen if the latest version in pypi doesn't work.

@eiderman eiderman closed this as completed Dec 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants