Questions tagged [mlflow]

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

722 questions
2
votes
1 answer

How to log a tensorflow model with mlflow.tensorflow.log_model (error module 'tensorflow._api.v2.saved_model' has no attribute 'tag_constants')

I am trying to log a trained model with MLFlow using mlflow.tensorflow.log_model. After training a simple sequential tf model history = binary_model.fit(train_ds, validation_data=val_ds, epochs=num_epochs) I am trying to log it: from…
edgarbc
  • 366
  • 2
  • 15
2
votes
1 answer

mlflow: saving signature gives me warning

I am using mlflow with sqlite backend. started the server with: mlflow server --backend-store-uri sqlite:///mlruns_db/mlruns.db --default-artifact-root $PWD/mlruns --host 0.0.0.0 -p 5000 in the code, I log the model with signature as…
Hn Musac
  • 21
  • 1
2
votes
1 answer

PowerShell Get request with body

I am trying this api endpoint. I can call this in python, no problem, like the below get_model_versions={ "filter":"name='model_name'", "order_by":["version DESC"], "max_results":1 } init_get =…
Saugat Mukherjee
  • 778
  • 8
  • 32
2
votes
1 answer

Can't log MLflow artifacts to S3 with docker-based tracking server

I'm trying to set up a simple MLflow tracking server with docker that uses a mysql backend store and S3 bucket for artifact storage. I'm using a simple docker-compose file to set this up on a server and supplying all of the credentials through a…
2
votes
1 answer

Experiments disappear when adding --backend-store-uri

I have an EC2 instance running a mlflow server using the following command: mlflow server -h 0.0.0.0 --default-artifact-root s3://xxxx After running multiple experiments, I was trying to register the best one. However, when trying to register or…
Fernando Wittmann
  • 1,991
  • 20
  • 16
2
votes
0 answers

Order columns in MLflow ui

I am using the MLflow UI to track machine learning experiments. I want to be able to sort the position of the columns (that seems to be in alphabetical order by default). My use case. I log different metrics with mlflow.log_metric(). Let's say I…
Adrien Pacifico
  • 1,649
  • 1
  • 15
  • 33
2
votes
0 answers

How to set custom path for databricks mlflow artifacts on s3

I've created an empty experiments from databricks experiments console and given the path for my artifacts on s3 i.e. s3:///. When i run the scripts, the artifacts are stored at s3:////<32 char id>/artifacts/model-Elasticnet/model.pkl I want…
shahidammer
  • 1,026
  • 2
  • 10
  • 24
2
votes
1 answer

How does one invert an encoded prediction in Keras for model serving?

I have a Keras model in which i have successfully added a StringLookUp pre-processing step as part of the model definition. This is generally a good practice because i can then feed it the raw data to get back a prediction. I am feeding the model…
2
votes
0 answers

Custom MLFlow scoring_server for model serving

I would like to know if MLflow currently does support any kind of customization of it's scoring_serving that would allow the ability to register new endpoints to the published Rest API. By default the scoring server provides /ping and /invocations…
jarey
  • 323
  • 2
  • 8
2
votes
2 answers

Parallelize MLflow Project runs with Pandas UDF on Azure Databricks Spark

I'm trying to parallelize the training of multiple time-series using Spark on Azure Databricks. Other than training, I would like to log metrics and models using MLflow. The structure of the code is quite simple (basically adapted this example). A…
2
votes
1 answer

How to log a table of metrics into mlflow

I am trying to see if mlflow is the right place to store my metrics in the model tracking. According to the doc log_metric takes either a key value or a dict of key-values. I am wondering how to log something like below into mlflow so it can be…
Felix Gao
  • 41
  • 3
2
votes
1 answer

How to add new stages/rename a stage in MLflow

I was doing some experiments with MLflow using Python 3.7, and I was wondering if I can rename a stage or add a new one to the pre-existing None | Staging | Production | Archived Currently, I registered a model obtained from an experiment, but I…
2
votes
0 answers

Mlflow how to pass database username and password through config file or in secure way

I have a script which start a mlflow server. How to pass postgresql credentials in mlflow server in secure way. When somebody start mlflow, they have to give username and password for backend-store-uri database. e.g mlflow server --backend-store-uri…
punam
  • 155
  • 8
2
votes
1 answer

How can I run Tensorboard with MLFlow's logs?

I use MLFlow with autolog to keep track of my Tensorflow models: mlflow.tensorflow.autolog(every_n_iter=1) with mlflow.start_run(): model = ... model.compile(...) model.fit(...) and then I want to use my tensorboard logs located in the…
2
votes
1 answer

mlflow / app engine error code 405 method not allowed, when using remote tracking server

I have both mlflow client and server running (both version 1.22.0). The tracking server is deployed using GCP app engine. From the client I set the remote uri like this: mlflow.set_tracking_uri("https://mlflow-xxx.appspot.com/#/") And then I just…