mlflow.exceptions
- exception mlflow.exceptions.ExecutionException(message, error_code=1, **kwargs)[source]
基类:
mlflow.exceptions.MlflowException执行项目失败时抛出的异常
- exception mlflow.exceptions.InvalidUrlException(message, error_code=1, **kwargs)[source]
基类:
mlflow.exceptions.MlflowException当由于无效的 URL 导致无法发送 http 请求时抛出的异常
- exception mlflow.exceptions.MissingConfigException(message, error_code=1, **kwargs)[source]
基类:
mlflow.exceptions.MlflowException当未找到预期的配置文件/目录时抛出的异常
- exception mlflow.exceptions.MlflowTraceDataCorrupted(request_id: Optional[str] = None, artifact_path: Optional[str] = None)[source]
基类:
mlflow.exceptions.MlflowTraceDataException当跟踪数据损坏时抛出异常
- exception mlflow.exceptions.MlflowTraceDataException(error_code: str, request_id: Optional[str] = None, artifact_path: Optional[str] = None)[source]
基类:
mlflow.exceptions.MlflowTracingException因跟踪数据相关错误抛出的异常
- exception mlflow.exceptions.MlflowTraceDataNotFound(request_id: Optional[str] = None, artifact_path: Optional[str] = None)[source]
基类:
mlflow.exceptions.MlflowTraceDataException当找不到跟踪数据时抛出的异常
- exception mlflow.exceptions.MlflowTracingException(message, error_code=1)[source]
基类:
mlflow.exceptions.MlflowException从追踪逻辑抛出的异常
通常,跟踪逻辑不应阻塞主执行流程,因此此异常用于区分与跟踪相关的错误并妥善处理它们。
- exception mlflow.exceptions.RestException(json)[source]
基类:
mlflow.exceptions.MlflowException当REST API返回非200级响应时抛出的异常
- mlflow.exceptions.get_error_code(http_status)[source]