Closed BryanCutler closed 5 years ago
@frreiss , I attempted to work with the QueueRunner
type collection and was able to get the proto buf value for it, but I think it would some work to try to convert it back to a tf.Graph
, and I'm not sure it's worth the effort. I believe you said queue runners were going away in tf 2.0?
The savers
collection I came across did not have any items in it, so safe to skip, wdyt?
@frreiss , I tried changing _make_collection_defs
to extract the existing CollectionDef
s from a MetaGraphDef
instead of creating them from scratch. It passes all the tests, but I did rework the APIs a bit. WDYT?
Is the example from the Large Model Support able to run training after this change?
Is the example from the Large Model Support able to run training after this change?
Yes, the mnist example runs and the other 2 are able to load the graph in gde - just not run the new graph because it's edited under a callback, so needs in-place editing.
OK, then I think we're good to go with this PR. Merging.
Thanks @frreiss !
When calling
_make_collection_def
from atf.Graph
, skip collectionqueue_runners
andsavers
.Fixes #25