If you call gde.copy(g1, g2) and graph g1 contains collections, then GDE attempts to call the add_to_collection() TensorFlow API on g2, as if g2 were a tf.Graph instead of a gde.Graph.
The function assign_renamed_collections_handler() in transform.py needs to be rewritten to use GDE APIs to manage collections in the target graph.
If you call
gde.copy(g1, g2)
and graph g1 contains collections, then GDE attempts to call theadd_to_collection()
TensorFlow API ong2
, as ifg2
were atf.Graph
instead of agde.Graph
.The function
assign_renamed_collections_handler()
intransform.py
needs to be rewritten to use GDE APIs to manage collections in the target graph.