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

Update for tensorflow 1.12.0 #12

Open
pren1 opened this issue Dec 21, 2018 · 2 comments
Open

Update for tensorflow 1.12.0 #12

pren1 opened this issue Dec 21, 2018 · 2 comments

Comments

@pren1
Copy link

pren1 commented Dec 21, 2018

Just some version problems, and I believe you can also find solutions easily by yourself :D

changes:

scalar_summary should be renamed to tf.summary.scalar
tf.histogram_summary should be renamed to tf.summary.histogram
tf.merge_summary should be renamed to tf.summary.merge
tf.train.SummaryWriter should be renamed to tf.summary.FileWriter
@pren1
Copy link
Author

pren1 commented Dec 21, 2018

Thank you for your implementation!

@pren1 pren1 closed this as completed Dec 21, 2018
@pren1
Copy link
Author

pren1 commented Jan 1, 2019

By the way, to use the vanilla LSTM here on tensorflow 1.12.0, change:

concat = tf.concat(1, [x, h]) W_both = tf.concat(0, [W_xh, W_hh])

to

concat = tf.concat([x, h], 1) W_both = tf.concat([W_xh, W_hh], 0)

@pren1 pren1 reopened this Jan 1, 2019
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

1 participant