What is the difference between saving Keras model with extension .h5 and extension .hdf5?
An H5 file is a data file saved in the Hierarchical Data Format (HDF). Files saved in the HDF5 version are saved as an H5 or HDF5 file.
The extension is used so that people and applications can identify the file format from the name, so either can be used.
It is the same as there are multiple .jpeg, .jpg, etc. in jpeg format image files.
Is there a difference between saving the Keras model with the extension .h5 and extension .hdf5?
In other words, is there a difference between those two lines of code model.save('model.h5') and model.save('model.hdf5') assuming that I have a Keras model named model in my code?