Python,AI,Tensorflow
文章平均质量分 81
RogeDL
life is not the amount of breath you take , its the moments that take your breath away.
展开
-
迁移学习源码全注释 - 《Tensorflow 实战 Google 深度学习框架》源码注释
学习迁移学习源码,做了完全版本注释,以做记录:# -*- coding: utf-8 -*-"""Created on Mon Dec 25 12:30:25 2017需要提前下载训练好的 Inception-V3模型,以及对应的数据文件@author: Administrator"""import glob import os.pathimpo原创 2017-12-26 07:03:22 · 1763 阅读 · 0 评论 -
tensorflow 图像处理
在《TensorFlow实战Google深度学习框架》中,关于图像处理的程序因为版本变更,运行时会报错,现在按照最新的函数方式调试通过,记录下来备查:# -*- coding: utf-8 -*-"""Created on Tue Dec 26 11:27:16 2017@author: Administrator"""import numpy as原创 2017-12-27 13:26:37 · 673 阅读 · 0 评论 -
tensorflow queue Coordinator, QueueRunner 遇到的坑
在测试tensorflow queue Coordinator, QueueRunner 遇到几个坑,花了很多时间填,记录下来:1. TFRecord 过程中 unicode 解析出错: filename = './records/output.tfrecords' writer = tf.python_io.TFRecordWriter(filename)原创 2017-12-27 22:32:39 · 950 阅读 · 0 评论 -
anaconda 环境下启动 tensorboard
1. 需要使用 anaconda 安装目录下的 命令行工具:2. 程序中如果定义: writer = tf.summary.FileWriter("log/simple_example.log", tf.get_default_graph())3. 在prompt中,定位到 log的同级目录;4. 使用命令行: tensorboard --logdir=log/s原创 2018-01-13 14:40:02 · 3823 阅读 · 1 评论 -
tensorflow 中的 tensorflow.models.rnn.ptb.reader 不存在
在我的 tensorflow 1.4 中,tensorflow.models.rnn.ptb.reader 不存在, 而且默认没有 models. 包,解决方式:1. 到 github 下载 models 包, 在 github 中搜索 tensorflow. models包,第一个出现的就是。2. 下载完整包;3. reader.py 在 tutorials\rnn\ptb\ 路径原创 2017-12-29 14:34:41 · 4111 阅读 · 1 评论