Hi all,
I trained a classifier model using keras then I saved the weights of the model in a H5 file and the architecture in Json file. I was wondering how can I convert the H5 file into any other file like .csv or .mat? And how can I load after that the model architecture with these files?
my code part is :
classifier.save_weights(‘model_weights.h5’)
Save the model architecture
with open(‘model_architecture.json’, ‘w’) as f:
f.write(classifier.to_json())