This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Description
Hi, thanks for the wonderful code!
I found the summaries added during image preprocessing are lost after calling ds_iterator.get_next().
I identify this issues by adding tmp = tf.get_collection(key=tf.GraphKeys.SUMMARIES) right after ds_iterator.get_next(). The returned value of tmp is an enmpty list. However, when adding the same line at the end of def preprocess(self, raw_image), the returned value of tmp is the summary proto for the processed images, which is normal.
I, therefore, guess that the summaries added before calling Dataset iterator will not be retained. Is this true? If so, do we have a way to circumvent this issue?
Many thanks.