Edit on GitHub

Importing existing files

If you already have your models/data saved, but want to use them as MLEM Objects, you can use mlem import command or mlem.api.import_object() API.

They will try to load the path you provided and analyze the object saved there.

Importing is more limited than mlem.api.save(). This is because MLEM does not have a live Python object to analyze and tries to recreate it, which may fail.

You can see list of available import implementations here.

🐛 Found an issue? Let us know! Or fix it:

Edit on GitHub

Have a question? Join our chat, we will help you:

Discord Chat