![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
TF
ACGlyt
这个作者很懒,什么都没留下…
展开
-
FCN 喂入自己数据出错【Node:entropy/entropy = SparseSoftmaxCrossEntropyWithLogits...........】
[[Node:entropy/entropy=SparseSoftmaxCrossEntropyWithLogits[T=DT_FLOAT,Tlabels=DT_INT32,_device="/job:localhost/replica:0/task:0/device:CPU:0"](ent ropy/Reshape, entropy/Reshape_1)]]这是个什么鬼,...原创 2018-05-17 14:26:16 · 1794 阅读 · 11 评论 -
tensorflow中 tf.train.slice_input_producer() 函数和 tf.train.batch() 函数
原创:https://blog.csdn.net/dcrmg/article/details/79776876别人总结的转载方便自己以后看tensorflow数据读取机制tensorflow中为了充分利用GPU,减少GPU等待数据的空闲时间,使用了两个线程分别执行数据读入和数据计算。具体来说就是使用一个线程源源不断的将硬盘中的图片数据读入到一个内存队列中,另一个线程负责计算任务,所需数据直接从内存...转载 2018-05-18 16:50:19 · 1119 阅读 · 0 评论 -
命名空间:tf.variable_scope()函数和tf.name_scope()函数的使用及区别
先看代码:#命名空间函数tf.variable_scope()和tf.name_scope()函数区别于使用 import tensorflow as tf with tf.variable_scope("foo"): a = tf.get_variable("bar", [1]) print(a.name) #foo/bar:0 ...原创 2018-05-22 12:48:20 · 2826 阅读 · 0 评论 -
图像的大小翻转标注框处理函数
转载:https://blog.csdn.net/cunyizhang/article/details/78980880 图像预处理 结合实战Google深度学习框架和博客添加了自己总结的注释、笔记。 图像读取 tf.gfile.FastGFile(“/path/to/picture”, ‘r’).read() 图像格式的编码解码 :图像不直接记录图像上的不同位置,不同颜色的亮度。...原创 2019-08-07 17:39:17 · 156 阅读 · 0 评论 -
TensorFlow错误
错误一 在反卷积tf.nn.covn2d_transpose时报错:输入和计算的输入梯度类型不匹配 ValueError: Incompatible shapes between op input and calculated input gradient. Forward operation: inference/conv2d_transpose_3. Input index: 2....原创 2019-02-02 17:47:44 · 1200 阅读 · 2 评论