I\'m reading batch of images by getting idea here from tfrecords(converted by this)
My images are cifar images, [32, 32, 3] and as you can see while reading and pas
I had the exactly same issue today and later I found it was the input data file I downloaded from "famous data set" (such as https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data) that caused the error: It has some empty lines at the end of the file. Remove the empty lines, the error was gone!