I'm using the built-in tf.nn.seq2seq.embedding_attention_seq2seq()
function and I have some problems with the feed_previous
argument, during training, the groundtruth is fed into the decoder while during testing we feed the output of the last time step to the decoder. The problem is that once I set the feed_previous
argument I can't change that argument. I want to test my model every epoch, what should I do?
Tensorflow seq2seq `feed_previous' argument`
360 views Asked by Zhao At
1
From the documentation, you can provide a boolean tensor for feed_previous.