getting this error: "Error using importKerasNetwork (line 93) Unable to import layers from file 'model.h5' because it contains no 'model_config' attribute."
    7 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Sabhapathy Myakal
 el 4 de En. de 2019
  
    
    
    
    
    Respondida: dror yemini
 el 25 de Jun. de 2019
            When Iam trying to import a custom model file 'model.h5' created using keras - model.save_weights()
Please help
0 comentarios
Respuesta aceptada
  Don Mathis
    
 el 4 de En. de 2019
        
      Editada: Don Mathis
    
 el 4 de En. de 2019
  
      It's a file that contains weights only, without the architecture. You need to create it using model.save(), not model.save_weights().
Más respuestas (1)
  dror yemini
 el 25 de Jun. de 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 comentarios
Ver también
Categorías
				Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
			
	Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


