我通过获取想法阅读一批图像这里从tfrecords(通过转换此)
我的图像是cifar图像,[32,32,3],你可以看到,在阅读和传递图像时,形状是正常的(batch_size=100)
据我所知,日志中陈述的两个最值得注意的问题是
Compute status: Out of range: RandomSuffleQueue '_2_input/shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 100, current size 0)
我怎么解决这个问题?
日志:
1- image shape is TensorShape([Dimension(3072)])
1.1- images batch shape is TensorShape([Dimension(100), Dimension(3072)])
2- images shape is TensorShape([Dimension(100), Dimension(3072)])
W tensorflow/core/kernels/queue_ops.cc:79] Invalid argument: Shape mismatch in tuple component 0. Expected [3072], got [12288]
W tensorflow/core/common_runtime/executor.cc:1027] 0x7fa72abc89a0 Compute status: Invalid argument: Shape mismatch in tuple component 0. Expected [3072], got [12288] …Run Code Online (Sandbox Code Playgroud)