Open clu5 opened 7 years ago
If you run the cell which define those variable twice ,you will meet this error .The reason is at the second time you are really doing this : "Attempt to have a second RNNCell use the weights of a variable scope that already has weight" . You can not define those variables twice , which will cause conflict. The solution is obvious : Restart your kernel/notebook ,and the variable you have defined before will be clean up, in a new world ,everything works fine.
Looks like new TF version breaks the examples for RNN. Should update each LSTM cell to be its own variable scope like here.