Skip to content

Image flow example: Receive only a portion of tfrecords images #18

@hajbabaeim

Description

@hajbabaeim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions