实现人脸识别性别之路---调用训练集的时候出错

OutOfRangeError (see above for traceback): RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 2, current size 0)

 [[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]

 

出现这样的错误是因为:decode_raw的参数没有设置好,并且没有把图片转化为之前的类型,既三通道

posted @ 2018-08-20 14:20  Myuniverse  阅读(578)  评论(0编辑  收藏  举报