-
Notifications
You must be signed in to change notification settings - Fork 757
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
[WIP] Upgrade to TensorFlow 1.0.0 #426
Conversation
I have changed a few things in order to make edward compatible with TF 0.12: - `tf.initialize_all_variables()` calls have been renamed to `tf.global_variables_initializer()` - `tf.Variable.ref()` calls are replaced with `value()`. See: tensorflow/tensorflow@c46f70c#diff-ae1a8f7b66539f000615a4ab7e4b2151R460. `ref()` is an internal function now. But I'm not sure whether `value()` is the correct function to use here. - `tf.GraphKeys.VARIABLES` is replaced with `tf.GraphKeys.GLOBAL_VARIABLES`. As a side note, even after applying these changes, edward still doesn't work because of the bug introduced in TF 0.12rc0, see: tensorflow/tensorflow@77cfa97 for the fix. Therefore I had to use TF master branch. There are still 5 test failing, I'm looking into them.
9b9e164
to
41c1192
Compare
41c1192
to
8b245ec
Compare
I ran all scripts in One note (#367) is that we do require variable |
This pull request upgrades Edward's TensorFlow syntax to be compatible with TensorFlow 1.0.0-alpha and above. It is a work in progress.
This builds off #374.
fixes #425.