OutOfRangeError closed and has insufficient elements (requested 512, current size 362)
来源:互联网 发布:人人商城源码下载 编辑:程序博客网 时间:2024/05/16 19:16
一般来说:capacity的计算公式是: capacity=min_after_dequeue+3*batch_size
1.capacity的计算不对会引发这个问题,
2.num_threads=64 也会引发这个问题,解决方法:把这个暂时去掉,原因尚未知
image_batch, label_batch = tf.train.shuffle_batch([image,label], batch_size=batch_size, # num_threads=64, capacity=capacity, min_after_dequeue=1000)
解决方法:把num_threads=64 删掉
image_batch, label_batch = tf.train.shuffle_batch([image,label], batch_size=batch_size, # num_threads=64, capacity=capacity, min_after_dequeue=1000)
阅读全文
0 0
- OutOfRangeError closed and has insufficient elements (requested 512, current size 362)
- load jpeg with tensorflow-FIFOQueue '_1_input_producer' is closed and has insufficient elements()
- FIFOQueue '_4_batch_processing/batch_join/fifo_queue' is closed and has insu
- The event in requested index is outdated and cleared (the requested history has been cleared ) 问题和修复
- 完美解决WebSocket 服务器 The WebSocket session [0] has been closed and no method...异常信息
- 解决WebSocket 服务器 The WebSocket session [0] has been closed and no method...异常信息
- the requested operation has failed!
- [LinkedIn] Array of size n and an int k, find all elements that appear/occur more than n/k times
- Linux SSH登录服务器报ECDSA host key "ip地址" for has changed and you have requested strict checking.错误
- RSA host key for mysharebook.cn has changed and you have requested strict checking. Host key verific
- RSA host key for mysharebook.cn has changed and you have requested strict checking. Host key verific
- 错误:RSA host key for [ip address] has changed and you have requested strict checking.(已解决)
- data elements and domain
- Elements and MyVector
- GAE Exception: ObjectManager has been closed
- Ubuntu Software Center has closed unexpectly解决方案
- weblogic Connection has already been closed解决方法
- java.lang.RuntimeException: Assetmanager has been closed
- IT风投与中国
- 枚举、包装类、Math类、String类、Date类、Calendar类、Random类
- 在我的世界中实现了聊天框显示文字
- pyspark+jieba分词 数据标注(提取动词)
- fatal error: caffe/proto/caffe.pb.h: No such file or directory #include "caffe/proto/caffe.pb.h
- OutOfRangeError closed and has insufficient elements (requested 512, current size 362)
- JS 学习杂记
- 《Angular之Cannot find 'ExamManagerModule' in './exam-manage/exam-manage.module'》
- vim 系列二:Taglist的安装和使用
- MVP登录注册
- 如何关闭redis服务
- 文档词袋模型
- 实例讲解C++编程中的虚函数与虚基类
- linux如何查看JDK的安装路径