Open yinseng2001 opened 7 years ago
try this tf.contrib.legacy_seq2seq.model_with_buckets
but then it is shoeing TypeError: model_with_buckets() got an unexpected keyword argument 'num_encoder_symbols' this error
Try this for TypeErrors: https://github.com/tensorflow/models/issues/1736
self.outputs, self.losses = tf.nn.seq2seq.model_with_buckets( self.encoder_inputs, self.decoder_inputs, self.targets, self.decoder_masks, config.BUCKETS, lambda x, y: _seq2seq_f(x, y, False), softmax_loss_function=self.softmax_loss_function)
what function we can replace with tf.nn.seq2seq.model_with_buckets? thanks