keras icon indicating copy to clipboard operation
keras copied to clipboard

mxnet_backend.clear_session should clear the placeholder name dictionary

Open Neiko2002 opened this issue 7 years ago • 0 comments

Hello together,

right now I try to use the Keras (MXNet) library as a model converter. If you can port an existing MXNet model to a Keras model then you can convert from this intermediate format to the Theano, CNTK and TensorFlow format. This also works the other way around.

To make this happen I need access to the names of all nodes. Unfortunately the input variable name has an appended number which increases all the time. There is no way to reset it.

It would be helpful if mxnet_backend.clear_session() would reset the placeholder_name_dict variable.

Neiko2002 avatar Jul 13 '17 16:07 Neiko2002