-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tfrecords should also include depth and format #13
Comments
this can solve OutOfRangeError (see above for traceback): RandomShuffleQueue '_2_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 1, current size 0) |
Trying to reproduce this error, it did not happen again but reproduced this error: FIFOQueue '_1_processed_queue' is closed and has insufficient elements (requested 7, current size 0) which I fixed by changing the following line (when building the graph and not in in the above mentioned tf_records.py file): filename_queue = tf.train.string_input_producer([tfrecords_filename], num_epochs=num_epochs) to filename_queue = tf.train.string_input_producer([tfrecords_filename]) In the tensorflow document for tf.train.string_input_producer, it says: num_epochs: .... If not specified, string_input_producer can cycle through the strings in string_tensor an unlimited number of times. |
@GHmaryam hi.i used your method, solved the original error, then there was a new error .. OutOfRangeError (see above for traceback): RandomShuffleQueue '_3_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 100, current size 0) Do you have any ideas about this? thanks a lot! |
https://github.com/ahundt/tf-image-segmentation/blob/ahundt-keras/tf_image_segmentation/utils/tf_records.py
I believe this TFRecord format currently has implicit information including:
Would it be okay to update this to include the relevant information?
The text was updated successfully, but these errors were encountered: