def save_json(model, path):
    model_json = model.to_json()
    with open(path, 'w') as json_file:
        json_file.write(model_json)
def save_json(model, path):
    model_json = model.to_json()
    with open(path, 'w') as json_file:
        json_file.write(model_json)