Reputation: 900
I am trying to get HDF5/H5 file from existing project in keras.
this attention_ocr is related to OCR written in python. I would like to generate HDF5/H5 file so I can convert that with tensorflowjs_converter
[ref] and will use in browser.
I am looking for installing keras environment and generating HDF5/H5 file.
Upvotes: 0
Views: 1354
Reputation: 539
Once your model is trained in keras, saving it as an HDF5 is simply one line:
my_model.save('my_filename.h5')
Upvotes: 3