kotlindl icon indicating copy to clipboard operation
kotlindl copied to clipboard

The initializer name schema is violated by Zero and Ones ops

Open zaleslaw opened this issue 3 years ago • 1 comments

If you will load a graph from Keras in hdf5 format it could keep Zeros or Ones as a default initializer for biases. But the standard schema of loading weights via initializers names doesn't work well in this way. Should be used another initializer (maybe special) for handling this issue.

Name: Init_conv2d_25_conv2d_bias/Zero; Type: Const; Out #tensors: 1 Name: Init_conv2d_25_conv2d_bias/Fill; Type: Fill; Out #tensors: 1

zaleslaw avatar Jul 18 '20 16:07 zaleslaw

Don't use Zeros/Ones/Constants as Initializers if you need model export/import. It acts wrong way and this situation is not handled yet.

zaleslaw avatar Oct 02 '20 08:10 zaleslaw