in machine-learning/container/scripts/predictor.py [0:0]
def loadmodel(weightFile, jsonFile):
# load json and create model
json_file = open(jsonFile, 'r')
loaded_model_json = json_file.read()
json_file.close()
reg = model_from_json(loaded_model_json)
# load weights into new model
reg.load_weights(weightFile)
print("Loaded model from disk")
return reg