error:tensorflow有些方法属性被改了,
self.summary_writer = tf.train.SummaryWriter(summary_dir)
改为:summary.FileWriter(name)
self.summaries = tf.merge_summary([
tf.scalar_summary("loss", self.loss)
])
改为:summary.merge(). summary.scalar()
concated = tf.concat(1, [indices, sparse_labels])
改为:concated = tf.concat([indices, sparse_labels], 1)
还有许多类似的错误,自己遇到了再百度吧