seq2seq
seq2seq copied to clipboard
Raised ValueError "Dimensions must be equal" with the example in README.md
running the script from README.md
from seq2seq.models
import SimpleSeq2Seq
model = SimpleSeq2Seq(input_dim=5, hidden_dim=10, output_length=8, output_dim=8)
...
in ipython (version=2.7.12(Anacaonda), tensorflow_v=0.11.0 as backend).
and a ValueError raised, it says: Dimensions must be equal, but are 10 and 8. So does it because i use tensorflow as backend or other reason?
When using tensorflow backend, set unroll=True.