getting this error: "Error using importKerasNetwork (line 93) Unable to import layers from file 'model.h5' because it contains no 'model_config' attribute."
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sabhapathy Myakal
le 4 Jan 2019
Réponse apportée : dror yemini
le 25 Juin 2019
When Iam trying to import a custom model file 'model.h5' created using keras - model.save_weights()
Please help
0 commentaires
Réponse acceptée
Don Mathis
le 4 Jan 2019
Modifié(e) : Don Mathis
le 4 Jan 2019
It's a file that contains weights only, without the architecture. You need to create it using model.save(), not model.save_weights().
Plus de réponses (1)
dror yemini
le 25 Juin 2019
also note may recive error
so just change
#Expected input to be a scalar with value >= 1e-05
x = BatchNormalization(epsilon=1e-03, momentum=0.9, weights=None)(x)
0 commentaires
Voir également
Catégories
En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!