美文网首页我爱编程
tensorflow出错笔记

tensorflow出错笔记

作者: oword | 来源:发表于2018-04-04 11:54 被阅读0次

更新函数方法
tf.train.SummaryWriter -> tf.summary.FileWriter
tf.scalar_summary()->tf.summary.scalar(name, tensor, collections=None)
tf.merge_all_summaries()->tf.summary.merge_all()
initialize_all_variables()->global_variables_initializer()
tf.pack->tf.stack
操作
anaconda 安装包 pip install xxxxxxxxx 例如:pip install pymysql
tensorboard使用 使用anaconda prompt 启动tensorflow 进入和文件所在相同目录 启动 tensorboard --logdir="./my_graph"

相关文章

网友评论

    本文标题:tensorflow出错笔记

    本文链接:https://www.haomeiwen.com/subject/ewdkhftx.html