Open
Description
Thank you for this great work :)
When I try to run the code, I am getting many errors because of new TensorFlow 2.x changes. So, I tried to use tf_upgrade_v2 script, but still, I get an error and not sure how to proceed,
More specifically: Substructure "type=LSTMStateTuple str=LSTMStateTuple(c=<tf.Tensor 'rnn/rnn_model/lstm_0/lstm_cell/add_1:0' shape=(64, 400) dtype=float32>, h=<tf.Tensor 'rnn/rnn_model/lstm_0/lstm_cell/mul_2:0' shape=(64, 400) dtype=float32>)" is a sequence, while substructure "type=ResourceVariable str=<tf.Variable 'model/rnn/Variable:0' shape=(64, 400) dtype=float32>" is not
Entire first structure:
[., (.,), [LSTMStateTuple(c=., h=.), LSTMStateTuple(c=., h=.), LSTMStateTuple(c=., h=.), ., ., .]]
Entire second structure:
[., (.,), [., ., ., ., ., ., ., ., .]]
It would be great if anyone give comments to reproduce this work in Tensorflow2.x
Metadata
Assignees
Labels
No labels
Activity