Skip to content

Instantly share code, notes, and snippets.

@dpoulopoulos
Last active September 29, 2021 16:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpoulopoulos/a4f7462acc5340bfde8a6f9fb8acf0f3 to your computer and use it in GitHub Desktop.
Save dpoulopoulos/a4f7462acc5340bfde8a6f9fb8acf0f3 to your computer and use it in GitHub Desktop.
with package.PackageExporter(path) as exp:
exp.intern("models.**")
exp.save_pickle(package_name, resource_name, model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment