TypeError: Expected int32, got list containing Tensors of type ‘_Message’ instea d.

作者:luozhipeng   发表日期:2017-8-24  浏览:227次

pooled_reshape = tf.reshape(tf.concat(3, output), [-1, self.num_filters_total])

concat的参数位置换了,修改如下:

pooled_reshape = tf.reshape(tf.concat(output, 3), [-1, self.num_filters_total])

本文固定链接: http://www.luozhipeng.com/?p=1275
转载请注明: luozhipeng 2017-8-24 于 罗志鹏的BLOG 发表

上一篇: :下一篇
返回顶部