Image flow example: Receive only a portion of tfrecords images
hajbabaeim opened this issue · 0 comments
Dear @HamedMP
I use your code in example folder and tried to train my network with that. However, when I start the training process I receive only a portion of my whole images in my tfrecords file (actually there is a formula for that! Number_of_images = 172*(FLAGS.num_epochs/FLAGS.batch_size), I guess).
I know that coord.should_stop() try to stop network from training if a thread should stop. But, I cannot realize why that try to stop network very fast. despite the fact that, my epoch number not yet completed?
Another question: what does FLAGS.num_epochs do in this code? (I don't realize difference of FLAGS.num_epochs in your code and epoch_numer=all_data_size/batch_size)
thank you very much.
mohammad reza