Skip to content

Instantly share code, notes, and snippets.

@AbdelmajidB
Created June 11, 2019 12:58
Show Gist options
  • Save AbdelmajidB/ffd4d7c77fa74cbb741546f25b44bace to your computer and use it in GitHub Desktop.
Save AbdelmajidB/ffd4d7c77fa74cbb741546f25b44bace to your computer and use it in GitHub Desktop.
Exception in thread "main" org.deeplearning4j.nn.modelimport.keras.exceptions.InvalidKerasConfigurationException: Requires model configuration as either JSON or YAML string.. For more information, see http://deeplearning4j.org/model-import-keras.
at org.deeplearning4j.nn.modelimport.keras.utils.KerasModelUtils.parseModelConfig(KerasModelUtils.java:333)
at org.deeplearning4j.nn.modelimport.keras.KerasModel.<init>(KerasModel.java:120)
at org.deeplearning4j.nn.modelimport.keras.KerasModel.<init>(KerasModel.java:96)
at org.deeplearning4j.nn.modelimport.keras.utils.KerasModelBuilder.buildModel(KerasModelBuilder.java:307)
at ma.enset.brain_tumor_segmentation.SemanticSegmentationLoadKeras.run(SemanticSegmentationLoadKeras.java:55)
at ma.enset.brain_tumor_segmentation.SemanticSegmentationLoadKeras.main(SemanticSegmentationLoadKeras.java:138)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment