tf.nn.seq2seq.model_with_buckets报错的原因是seq2seq从tf.nn中移除了,改为tf.contrib.legacy_seq2seq.model_with_buckets即可