访问 MLflow 试验项目时出现 PERMISSION_DENIED 错误PERMISSION_DENIED error when accessing MLflow experiment artifacts

问题Problem

尝试使用 MLflow 客户端访问 MLflow 项目时收到 PERMISSION_DENIED 错误。You get a PERMISSION_DENIED error when trying to access an MLflow artifact using the MLflow client.

RestException: PERMISSION_DENIED: User <user> does not have permission to 'View' experiment with id <experiment-id>

or

RestException: PERMISSION_DENIED: User <user> does not have permission to 'Edit' experiment with id <experiment-id>

原因Cause

随着针对项目的 MLflow 试验权限的扩展,必须具有显式权限才能访问 MLflow 试验的项目。With the extension of MLflow experiment permissions to artifacts, you must have explicit permission to access artifacts of an MLflow experiment.

此错误表示你没有访问试验项目的权限。The error suggests that you do not have permission to access artifacts of the experiment.

解决方案Solution

让试验所有者为你授予适当的权限级别以访问试验。Ask the experiment owner to give you the appropriate level of permissions to access the experiment.

试验权限自动应用于试验项目。Experiment permissions automatically apply to artifacts of an experiment.