mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix assertion error message for MLflowCallback (#8091)
This commit is contained in:
parent
3220f21f14
commit
8e28c327fc
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user