i have a directory of png files . there is a train folder and test folder . In the train folder i have 10 folders as 10 labels [ 0 -9 ] .Each folder contains png files of that label . I want to load them in tensor flow for training . I am new in tensor flow i am having a very hard time getting this done
i am using anaconda ( py ver 3.5 )
import tensorflow as tf
filename_queue = tf.train.string_input_producer(
tf.train.match_filenames_once("./images/*.jpg"))
image_reader = tf.WholeFileReader()
i have tried using this but can make it work . it only loads 1 image
It's working for me though. Can you run this script ? (Updated to get Labels as well)
File Directory
Output: