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

Unknown initializer #6845

Closed
Nasikkarsumukh opened this issue Dec 12, 2018 · 2 comments
Closed

Unknown initializer #6845

Nasikkarsumukh opened this issue Dec 12, 2018 · 2 comments
Labels
DL4J Keras Issues related to Keras import

Comments

@Nasikkarsumukh
Copy link

org.deeplearning4j.nn.modelimport.keras.exceptions.UnsupportedKerasConfigurationException: Unknown keras weight initializer GlorotUniform. Please file an issue at http://github.com/deeplearning4j/deeplearning4j/issues.
at org.deeplearning4j.nn.modelimport.keras.utils.KerasInitilizationUtils.mapWeightInitialization(KerasInitilizationUtils.java:183) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.utils.KerasInitilizationUtils.getWeightInitFromConfig(KerasInitilizationUtils.java:223) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.layers.core.KerasDense.(KerasDense.java:100) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.utils.KerasLayerUtils.getKerasLayerFromConfig(KerasLayerUtils.java:219) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.KerasModel.prepareLayers(KerasModel.java:218) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.KerasSequentialModel.(KerasSequentialModel.java:111) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.KerasSequentialModel.(KerasSequentialModel.java:58) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.utils.KerasModelBuilder.buildSequential(KerasModelBuilder.java:322) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]
at org.deeplearning4j.nn.modelimport.keras.KerasModelImport.importKerasSequentialModelAndWeights(KerasModelImport.java:195) ~[deeplearning4j-modelimport-1.0.0-beta3.jar:na]

Facing this error while importing the model through.h5 file.
Please let me know the solution.

@AlexDBlack AlexDBlack added the DL4J Keras Issues related to Keras import label Dec 12, 2018
maxpumperla added a commit that referenced this issue Dec 13, 2018
@maxpumperla
Copy link
Contributor

small patch applied, should be in SNAPSHOT tomorrow. thanks for reporting, @Nasikkarsumukh

@lock
Copy link

lock bot commented Jan 12, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Jan 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
DL4J Keras Issues related to Keras import
Projects
None yet
Development

No branches or pull requests

3 participants