I got this error when I was trying to have a model registered in the model registry. Could someone help me?
RestException: INVALID_PARAMETER_VALUE: Unsupported URI './mlruns' for model registry store.
Supported schemes are: ['postgresql', 'mysql', 'sqlite', 'mssql'].
See https://www.mlflow.org/docs/latest/tracking.html#storage for how to setup a compatible server.
Mlflow required DB as datastore for Model Registry So you have to run tracking server with DB as backend-store and log model to this tracking server. The easiest way to use DB is to use SQLite.
mlflow server \
--backend-store-uri sqlite:///mlflow.db \
--default-artifact-root ./artifacts \
--host 0.0.0.0
And set MLFLOW_TRACKING_URI environment variable to http://localhost:5000 or
mlflow.set_tracking_uri("http://localhost:5000")
After got to http://localhost:5000 and you can register a logged model from UI or from the code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With