Questions tagged [mlflow]

Use this tag for questions about the machine-learning platform MLflow

722 questions
4
votes
0 answers

How to save Tensorflow tokenized text on Mlflow for predictions?

Did anyone had saved tf tokenzied data on Mlflow and loaded it for prediction in production code? I know there is a method to write as json or pickle but I have no idea how to send it to Mlflow and load it back from there... Any suggestions how to…
4
votes
0 answers

MLFlow in docker - unable to store artifacts in sftp server (atmoz)

I would like to run MLflow "entirely offline" using docker (i.e. no cloud storage like S3 or blob). So I followed this guide and tried to set the artifact store to the atmoz sftp server running inside another docker container. As suggested in the…
4
votes
2 answers

How to migrate MlFlow experiments from one Databricks workspace to another with registered models?

so unfortunatly we have to redeploy our Databricks Workspace in which we use the MlFlow functonality with the Experiments and the registering of Models. However if you export the user folder where the eyperiment is saved with a DBC and import it…
Mimi Müller
  • 416
  • 8
  • 25
4
votes
1 answer

MLFlow and Hydra causing crash when used together

I'm trying to utilize Hydra with MLFlow, so I wrote the bare minimum script to see if they worked together (importing etc.). Both work fine on their own, but when put together I get a weird outcome. I have the script below: import hydra from…
Ilknur Mustafa
  • 301
  • 2
  • 11
4
votes
1 answer

It is possible to add mlflow experiences notes using code instead of mlflow UI?

I want to add text to experiences notes without using the mlflow ui mlflow UI notes example I can't find that method in the docs https://mlflow.org/docs/latest/tracking.html. Thanks
Tiago Cabo
  • 71
  • 7
4
votes
1 answer

How to deploy mlflow model with data preprocessing(text data)

I have developed keras text classification model. I have preprocessed data(tokenization). I have logged trained model successfully(mlflow.keras.log_model). I have served model using mlflow serve. Now while doing prediction on text data I need to do…
D. Ranvir
  • 43
  • 1
  • 4
4
votes
1 answer

Logging Artifacts from MlFlow on GCS Bucket

I have a running MlFlow server on GCS VM instance. I have created a bucket to log the artifacts. This is the command I'm running to start the server and for specifying bucket path- mlflow server --default-artifact-root gs://gcs_bucket/artifacts…
4
votes
1 answer

Running MLFlow on GCP VM

I have installed mlflow on GCP VM instance, now I want to access mlflow UI with external IP. I tried setting up a firewall rule and opening the default port for mlflow, but not able to access it. Can someone give step by step process for just…
Shadab Hussain
  • 794
  • 6
  • 24
4
votes
1 answer

"Lost connection to MySQL server at 'handshake: reading initial communication packet', system error: 11" using docker sql proxy

Essentially, I have a SQL database on Google Cloud Platform and I am using the proxy docker image to establish a local connection for development for when I modify the mlflow docker image. I've spent a disgusting amount of time trying to debug this…
4
votes
0 answers

Unable to download artifacts from FTP server using MLFLOW

I'm not able to load my sklearn model using mlflow.sklearn.load_model. Internally, mlflow uses the function _download_artifact_from_uri from the module mlflow.tracking.artifact_utils. If I try, to download an entire artifact folder I receive the…
4
votes
1 answer

How to make predictions using a model that requires an input shape with more than two dimensions using MLflow?

I'm trying to implement a tensorflow (keras) based model into mlflow while learning how it works and if it suite our needs. I'm trying to implement the Fashion MNIST example from tensorflow website Here the link I was able to train and to log the…
Marco Ferragina
  • 543
  • 1
  • 4
  • 12
4
votes
1 answer

Packaging MultiLabelBinarizer into scikit-learn Pipeline for inference on new data

I'm building a multilabel classifier to predict labels based on a text field. For example, predicting genres based on movie title. I'd like to use MultiLabelBinarizer() to binarize a column containing all applicable genre labels. For example,…
Matt
  • 85
  • 6
4
votes
2 answers

How should I mount docker volumes in mlflow project?

I use mlflow in a docker environment as described in this example and I start my runs with mlflow run .. I get output like this 2019/07/17 16:08:16 INFO mlflow.projects: === Building docker image mlflow-myproject-ab8e0e4 === 2019/07/17 16:08:18 INFO…
simweb
  • 211
  • 2
  • 9
4
votes
2 answers

Filter mlflow runs by commit ID

When using the UI of MlFlow, is it possible to filter/search the runs using the (git) commit ID? I manage to search by parameters but it doesn't seem like there's a way to filter by the commit ID.
Dror
  • 12,174
  • 21
  • 90
  • 160
4
votes
1 answer

Store scaler with mlflow keras-model

We are looking into using mlflow to handle our keras models, and we would also like to use mlflow to deploy the models in e.g azure. But the models require some simple preprocessing of the data, in our case the use of a minmax scaler. For the…
epa095
  • 198
  • 9