- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
按照 https://www.mlflow.org/docs/latest/quickstart.html 上的快速入门和教程进行操作, 和 https://www.mlflow.org/docs/latest/tutorial.html ,train.py 的执行工作正常。
Elasticnet model (alpha=0.500000, l1_ratio=0.500000):
RMSE: 0.8222428497595403
MAE: 0.6278761410160693
R2: 0.12678721972772622
但是当启动 ui mlflow ui
并访问网页 localhost:5000 时,浏览器报错
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
出了什么问题以及如何解决这个问题?
谢谢
最佳答案
有许多不同的问题可能会发生也可能不会发生。您最好的选择是进行简单的故障排除。我看到你在 GitHub 上发表评论,所以让我们换个角度试试;这很可能是构建/调试文件路径或目录设置不正确。
我注意到一个名为 set_tracking_uri
的文件/目录设置。
def get_tracking_uri():
"""
Returns the current tracking URI. Note that this may not correspond to the tracking URI of
the currently active run, since the tracking URI may be updated via `set_tracking_uri`.
:return: the tracking URI
"""
mlflow/tracking/__init__.py
- lines 52-56
您还可以查看服务器文件路径的 package.json
。
"proxy": "http://localhost:5000",
"homepage": "/static-files",
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!**/*.test.{js,jsx}",
"!**/__tests__/*.{js,jsx}"
]
mlflow/mlflow/server/js/package.json
- lines 37-44
确保您的文件与您的设置相比位于正确的目录中,我相信它会解决问题。
关于python - 无法访问 mlflow ui,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51079061/
我想在不使用 mlflow ui 的情况下向体验笔记添加文本 mlflow UI notes example 我在文档中找不到该方法 https://mlflow.org/docs/latest/tr
我目前正在跟踪我的 MLflow 运行到本地文件路径 URI。我还想设置一个远程跟踪服务器与我的合作者共享。我想避免的一件事是将所有内容都记录到服务器,因为它可能很快就会被失败的运行淹没。 理想情况下
MLFlow Tracking 非常适合监控实验,但我想知道 MLFlow 或其他开源平台上是否有解决方案可以集成来监控数据和模型漂移。 有一个post来自 Databricks 展示了如何使用 De
有没有办法在 MLflow 的实验级别管理权限?我们想要一个共享服务器,但希望能够在实验级别管理权限 - 例如管理员可以查看所有实验,user_group1 可以管理实验 1 - 也许不同的组可以查看
我还没有找到在第一次 start_run 之后为该运行设置运行名称的方法(我们可以在那里传递一个名称)。 我知道我们可以使用标签,但那不是一回事。我想添加一个与运行相关的名称,但通常我们只有在运行评估
我发现删除了 run仅从 active 更改状态至 deleted ,因为如果通过 deleted 搜索,运行仍然在 UI 中可见。 . 是否可以删除 run从UI节省空间? 删除运行时,是否也删除了
我正在使用 mlflow REST API 编写一个库。我正在寻找用于记录不同 mlflow 模型的 mlflow REST api。 在文档中,https://www.mlflow.org/docs
我正在尝试在远程计算机上将 MLFlow 跟踪服务器设置为 systemd 服务。我有一个运行的 sftp 服务器并创建了一个 SSH key 对。 除了工件日志记录之外,一切似乎都运行良好。 MLF
我尝试以这种方式读取指标: data, info = mlflow.get_run(run_id) print(data[1].metrics) # example of output: {'l
我可以使用以下命令创建 ml 模型服务器 mlflow models serve -m file:///C:/Users/SawarkarFamily/Desktop/mlflow-master/ex
我正在尝试在本地网络中的另一台机器上运行 MLFlow,我想寻求一些帮助,因为我现在不知道该怎么做。 我有一个运行在服务器上的 mlflow 服务器。 mlflow 服务器在服务器上的我的用户下运行,
我正在尝试使用 MLFlow CLI 运行 MLFlow 项目,但按照教程进行操作会导致错误。对于我尝试从 CLI 运行的任何项目,我都会收到以下错误 Traceback (most recent c
我正在尝试在本地运行 mlflow 服务器。 为此,我正在使用: mlflow server --backend-store-uri="sqlite:///C:\\path\\to\\project_
我正在尝试将基于 tensorflow (keras) 的模型实现到 mlflow 中,同时了解它的工作原理以及它是否满足我们的需求。我正在尝试从 tensorflow 网站实现 Fashion MN
我已使用 MLProject 将我的模型存储在 Github 中,以便其他人可以以各种变体运行它。现在我想将运行创建的模型记录为工件,以便用户可以使用 MLModel 加载它们。由于我的模型是定制的,
我有一个流读取准备将特征数据发布到一个已经注册的模型中。所有代码都在 Python 中。以下模型和元数据在常规笔记本中的流之外运行。在流中是另一回事。主要问题是从流中写入的数据(写入目标表)具有 NU
MLflow 运行完成后,外部脚本可以使用 python mlflow 客户端和 mlflow.get_run(run_id) 方法访问其参数和指标,但是 get_run 返回的 Run 对象似乎是只
我希望通过在 keras 模型的训练/测试阶段的每个时期之后存储相应指标的每个值,将损失和准确性等指标视为图表。 PS:我知道我们可以通过使用 mlflow for keras 的自动日志功能来做到这
我想从不同的文件夹运行 mlflow ui。默认情况下,它会在我的用户文件夹中创建一个名为“mlruns”的文件夹。如果创建在使用特定工作目录的 Jupiter-Notebook 中运行,则会在该目录
当我将我的整个模型和参数记录到 mlflow 中时,我认为将其置于用户名和密码下进行保护是个好主意。 我使用以下代码运行mlflow服务器 mlflow server --host 0.0.0.0 -
我是一名优秀的程序员,十分优秀!