打开Tensorboard: 1、指定文件读取路径 程序运行完后在cmd 运行栏输入TensorBoard –logdir=’graph文件所在的文件夹的路径’, 为简化输入路径,可直接在该文件夹所在的文件夹中启动cmd. 2、使用浏览器访问localhost 在浏览器中输入http://local Read More
posted @ 2019-06-15 15:50 阿音ayin Views(284) Comments(0) Diggs(0) Edit
问 题:直接载入TensorBoard 总是提示No dashboard are active for current data set.根本不显示计算图。 原 因:文件路径问题,TensorBoard 未读取到文件数据,自然无法显示结果。 解决方法:设置文件路径。 程序运行完后在cmd 运行栏输入 Read More
posted @ 2019-06-15 15:31 阿音ayin Views(1505) Comments(0) Diggs(0) Edit
问 题:使用Tensorboard 进行数据可视化时,需要通过浏览器访问localhost 来调出,然而,一开始的时候总是提示localhost 拒绝了服务请求。 原 因:自己的电脑未设置好 解决方法: 1.首先查看 控制面板\系统和安全\管理工具 中有无Internet信息服务(IIS)管理器 若 Read More
posted @ 2019-06-15 15:23 阿音ayin Views(11392) Comments(0) Diggs(0) Edit
说明:训练模型,保存相关参数,以便在以后验证时直接输入验证数据集即可得到模型模拟结果。 主要参考了官方教程和博客 https://www.cnblogs.com/hejunlin1992/p/7767912.html 1、 模型存储 mymodel.meta 保存完整Tensorflow graph Read More
posted @ 2019-06-15 15:12 阿音ayin Views(911) Comments(0) Diggs(0) Edit
简单说明: 在待打包文件的文件夹【shift+右键】打开命令行窗口,输入 pyinstaller -F xxx.py 即可。 打包后的exe文件出现在 dist 文件夹中。 详细说明: cmd 进入到需要打包的py文件所在路径 eg:cd d:\abc 输入:(注意是双减号) pyinstaller Read More
posted @ 2019-06-15 14:33 阿音ayin Views(417) Comments(0) Diggs(0) Edit