def read_model(model_path, weigths_path):
    'Load your pretrained model\n\t'
    model = model_from_json(open(model_path).read())
    model.load_weights(weigths_path)
    return model
Load your pretrained model
def read_model(model_path, weigths_path):
    '\n\t'
    model = model_from_json(open(model_path).read())
    model.load_weights(weigths_path)
    return model