Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The initializer name schema is violated by Zero and Ones ops #4

Open
zaleslaw opened this issue Jul 18, 2020 · 1 comment
Open

The initializer name schema is violated by Zero and Ones ops #4

zaleslaw opened this issue Jul 18, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@zaleslaw
Copy link
Collaborator

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
Copy link
Collaborator Author

zaleslaw commented Oct 2, 2020

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 zaleslaw added the bug Something isn't working label Dec 15, 2020
@zaleslaw zaleslaw added this to the 0.2 milestone Dec 15, 2020
@zaleslaw zaleslaw removed this from the 0.2 milestone Apr 23, 2021
@zaleslaw zaleslaw self-assigned this May 18, 2021
@zaleslaw zaleslaw added this to the 0.4 milestone Sep 13, 2021
@zaleslaw zaleslaw modified the milestones: 0.4, 0.5 Dec 15, 2021
@juliabeliaeva juliabeliaeva self-assigned this Apr 7, 2022
@ermolenkodev ermolenkodev removed this from the 0.5 milestone Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants