Skip to content

Instantly share code, notes, and snippets.

@RoaldSchuring
Created July 5, 2019 20:39
Show Gist options
  • Save RoaldSchuring/1744be60474218670814e7bad80bf936 to your computer and use it in GitHub Desktop.
Save RoaldSchuring/1744be60474218670814e7bad80bf936 to your computer and use it in GitHub Desktop.
model_fn
def model_fn(model_dir):
clf = joblib.load(os.path.join(model_dir, "model.joblib"))
return clf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment