How to Log Pickle files as a part of Mlflow experiment run
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2021 06:16 AM
I want to log certain artifacts as python pickle as part of mlflow experiment
Is there a way to achieve this?
Labels:
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 04:22 PM
Sure, pickle the object to a local file. Log it to your current run with mlflow.log_artifact. That's it. MLflow lets you log just about anything you want. However if you're experimenting with different variations on a sklearn Pipeline model, you could simply create and try each variation, log each directly with mlflow.sklearn.log_model, into one single MLflow experiment.

