这是参考相当评论(不是回答),我在这里添加:MLflow: INVALID_PARAMETER_VALUE: Unsupported URI './mlruns' for model registry store
我从这里提取文件
train.py MLproject wine-quality.csv
这些在目录中:feb24MLFLOW
我在目录feb24MLFLOW
中,内容如下
:memory mlruns train.py wine-quality.csv
当我运行以下命令时
mlflow server --backend-store-uri sqlite:///:memory --default-artifact-root ./mlruns
UI 加载但不显示任何数据,数据库如下所示。见截图。
我正在使用
--default-artifact-root ./mlruns
标志,因为当我打印 print(mlflow.get_tracking_uri()) 时,我得到了当前目录
file:///<mydirectorylocations>/feb24MLFLOW/mlruns
出于某种原因,我看到我的数据库没有更新(或插入)。我在终端中检查了这一点。
$ 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>
如您所见,select * from runs
上面运行后没有数据。
请注意,我有以下内容
./mlruns
d6db5cf1443d49c19971a1b8b606d692 meta.yaml
Can somebody suggest I show results in the UI? or insert in databse? or what am I doing wrong?
请注意,当我运行时mlflow ui
,我会在 UI 中看到数据,但我得到:
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."