mlflow.exceptions
- exception mlflow.exceptions.ExecutionException(message, error_code=1, **kwargs)[source]
Bases:
mlflow.exceptions.MlflowException执行项目失败时抛出的异常
- exception mlflow.exceptions.InvalidUrlException(message, error_code=1, **kwargs)[source]
Bases:
mlflow.exceptions.MlflowException由于 URL 无效导致 HTTP 请求发送失败时抛出的异常
- exception mlflow.exceptions.MissingConfigException(message, error_code=1, **kwargs)[source]
Bases:
mlflow.exceptions.MlflowException找不到预期的配置文件/目录时抛出的异常
- exception mlflow.exceptions.MlflowNotImplementedException(message='')[source]
Bases:
mlflow.exceptions.MlflowException功能未实现时抛出的异常
- exception mlflow.exceptions.MlflowTraceDataCorrupted(request_id: Optional[str] = None, artifact_path: Optional[str] = None)[source]
Bases:
mlflow.exceptions.MlflowTraceDataException跟踪数据损坏时抛出的异常
- exception mlflow.exceptions.MlflowTraceDataException(error_code: str, request_id: Optional[str] = None, artifact_path: Optional[str] = None)[source]
Bases:
mlflow.exceptions.MlflowTracingException与跟踪数据相关的错误时抛出的异常
- exception mlflow.exceptions.MlflowTraceDataNotFound(request_id: Optional[str] = None, artifact_path: Optional[str] = None)[source]
Bases:
mlflow.exceptions.MlflowTraceDataException找不到跟踪数据时抛出的异常
- exception mlflow.exceptions.MlflowTracingException(message, error_code=1)[source]
Bases:
mlflow.exceptions.MlflowException跟踪逻辑中抛出的异常
一般来说,跟踪逻辑不应阻塞主执行流程,因此此异常用于区分跟踪相关错误并进行适当处理。
- exception mlflow.exceptions.RestException(json)[source]
Bases:
mlflow.exceptions.MlflowExceptionREST API 返回非 200 级响应时抛出的异常
- mlflow.exceptions.get_error_code(http_status)[source]