Debug --> hdf5和h5的区别

1.HDF5格式文件保存的是 : Model weights

keras代码:keras.models.Model.load_weights(filepath='hdf5文件路径')

2.H5 格式文件保存的是: Model stucture 和 Model weights

keras代码:keras.models.load_model('h5文件路径', compile=False)

To see I can not see, to know I do not know.
原文地址:https://www.cnblogs.com/aluomengmengda/p/15130481.html