python - 运行本地 mlflow 服务器时出错

标签 python python-3.x mlflow

我正在尝试在本地运行 mlflow 服务器。

为此,我正在使用:

mlflow server --backend-store-uri="sqlite:///C:\\path\\to\\project_folder\\backend\\mlflow_data.db" 
              --default-artifact-root="file:///C:\\path\\to\\project_folder\\artifact_store\\"

在哪里

- backend-store-uri: URI to which to persist experiment and run data (sqlite database in our case).
- default-artifact-root: Local or S3 URI to store artifacts, for new experiments (local folder in our case).

我已经安装了包:

numpy==1.17.3
pandas==0.25.3
jupyterlab==1.0.10 
scikit-learn==0.21.3
matplotlib==3.1.2
mlflow==1.4.0
torch==1.3.1+cpu 
torchvision==0.4.2+cpu 
xgboost==0.90

问题是我收到这个错误:

Fatal error in launcher: Unable to create process using "d:\bld\mlflow_1572494804636\_h_env\python.exe" "C:\Users\user\AppData\Local\Continuum\miniconda3\envs\mlflow-tut orial\Scripts\mlflow.exe" server --backend-store-uri=sqlite:///C:\\projects\\user\\mlflow_tutorial\\backend\\mlflow_ui_data.db --default-artifact-root=file:///C:\\projects \\user\\mlflow_tutorial\\artifact_store\\

当我运行 mlflow server 命令时。有什么想法吗?

最佳答案

路径中好像有空格: enter image description here

关于python - 运行本地 mlflow 服务器时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59412232/

相关文章:

python - 无法从 'Dataset' 导入名称 'mlflow.entities'

python - 如何使用需要使用 MLflow 的二维以上输入形状的模型进行预测?

python - 如何使用 pyca/cryptography 访问 CSR challengePassword?

python - 使用 python pandas 编辑 excel 文件

python - ValueError : Dimensions must be equal, 但对于 'MatMul_1' 是 784 和 500 (op : 'MatMul' ) with input shapes: [? ,784), [500,500]

json - 无法识别的内容类型参数 : format when serving model on databricks experiement

python 正则表达式 : duplicate names in named groups

python - 使用 Python 将 DOCX 文件转换为文本文件

python - re.sub() 文档误解

python-3.x - Python - KeyError(key) 被引发,但它不应该