I am currently training a convolutional neural network to classify between a rotten apple and a normal apple based on external appearance. I have all the necessary data, however I have a question about the following line of code.
epoch_x, epoch_y = tf.train.batch([resized_image, "Normal"], batch_size=batch_size)
This feeds the neural network with the images and labels. My question is, should I train the network with all the batches of normal oranges and then train the neural network with the rotten oranges? Should I alternate training the batches of rotten and normal oranges? Is there a particular order these images should be trained in?