This is in reference to rather comment (not answer), I added here: MLflow: INVALID_PARAMETER_VALUE: Unsupported URI './mlruns' for model registry store
I extracted files from here
train.py MLproject wine-quality.csv
These are in directory:feb24MLFLOW
I am in directory feb24MLFLOW
with following contents
:memory mlruns train.py wine-quality.csv
When I run following command
mlflow server --backend-store-uri sqlite:///:memory --default-artifact-root ./mlruns
The UI loads but does not show any data in it neigther does database as below. see screenshot.
I am using
--default-artifact-root ./mlruns
flag because, when I print print(mlflow.get_tracking_uri()), I get the current directory
file:///<mydirectorylocations>/feb24MLFLOW/mlruns
For some reason I see my database is not updating (or inserting). I checked that with in terminal.
$ sqlite3
sqlite> .open :memory
sqlite> .tables
alembic_version metrics registered_model_tags
experiment_tags model_version_tags registered_models
experiments model_versions runs
latest_metrics params tags
sqlite> select * from runs;
sqlite>
As you can see there is no data after running select * from runs
above.
Please note that I have following contents in
./mlruns
d6db5cf1443d49c19971a1b8b606d692 meta.yaml
Can somebody suggest I show results in the UI? or insert in databse? or what am I doing wrong?
Please note that when I run mlflow ui
, I see data in the UI but I get:
error_code: "INVALID_PARAMETER_VALUE"
message: " Model registry functionality is unavailable; got unsupported URI './mlruns' for model registry data storage. Supported URI schemes are: ['postgresql', 'mysql', 'sqlite', 'mssql']. See https://www.mlflow.org/docs/latest/tracking.html#storage for how to run an MLflow server against one of the supported backend storage locations."