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

Image summary is lost after ds_iterator.get_next() #69

@ghost

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions