Fix assertion error message for MLflowCallback (#8091)

This commit is contained in:
Harutaka Kawamura 2020-10-27 23:34:51 +09:00 committed by GitHub
parent 3220f21f14
commit 8e28c327fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -432,7 +432,7 @@ class MLflowCallback(TrainerCallback):
MAX_LOG_SIZE = 100
def __init__(self):
assert _has_mlflow, "MLflow requires mlflow to be installed. Run `pip install mlflow`."
assert _has_mlflow, "MLflowCallback requires mlflow to be installed. Run `pip install mlflow`."
self._initialized = False
self._log_artifacts = False