The common way to load a saved model is with keras.models.load_model method. keras.models.load_model("/mypath/model.h5") My question is if this can be done giving a file object, something like this: file = open("/mypath/model.h5") keras.models.load_model(file) This code doesn't work, I've searched on internet for this but there has been no luck. Continue reading...