How to distribute the prepared model?

I want to distribute my learning deep learning model created using Keras.

The partner wants to use it without a complex environment design, such as installing python, keras, etc.

How can i do this? Should I make a .exe file?

+4
source share
1 answer

You might want to explore this tutoiral .

The simplest code:

from keras.models import load_model

model.save('my_model.h5')  # creates a HDF5 file 'my_model.h5'

# returns a compiled model
# identical to the previous one
model = load_model('my_model.h5')
+1
source

Source: https://habr.com/ru/post/1689761/


All Articles