getting this error: "Error using importKerasNetwork (line 93) Unable to import layers from file 'model.h5' because it contains no 'model_config' attribute."
    8 ビュー (過去 30 日間)
  
       古いコメントを表示
    
When Iam trying to import a custom model file 'model.h5' created using keras - model.save_weights()
Please help
0 件のコメント
採用された回答
  Don Mathis
    
 2019 年 1 月 4 日
        
      編集済み: Don Mathis
    
 2019 年 1 月 4 日
  
      It's a file that contains weights only, without the architecture. You need to create it using model.save(), not model.save_weights().
その他の回答 (1 件)
  dror yemini
 2019 年 6 月 25 日
        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 件のコメント
参考
カテゴリ
				Help Center および File Exchange で Deep Learning Toolbox についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!