Skip to content

Commit

Permalink
Fix assertion error message for MLflowCallback (huggingface#8091)
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy authored and fabiocapsouza committed Nov 15, 2020
1 parent bc42fea commit 278a2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/integrations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 278a2d4

Please sign in to comment.