Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
8e28c327
Unverified
Commit
8e28c327
authored
Oct 27, 2020
by
Harutaka Kawamura
Committed by
GitHub
Oct 27, 2020
Browse files
Fix assertion error message for MLflowCallback (#8091)
parent
3220f21f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/integrations.py
src/transformers/integrations.py
+1
-1
No files found.
src/transformers/integrations.py
View file @
8e28c327
...
@@ -432,7 +432,7 @@ class MLflowCallback(TrainerCallback):
...
@@ -432,7 +432,7 @@ class MLflowCallback(TrainerCallback):
MAX_LOG_SIZE
=
100
MAX_LOG_SIZE
=
100
def
__init__
(
self
):
def
__init__
(
self
):
assert
_has_mlflow
,
"MLflow requires mlflow to be installed. Run `pip install mlflow`."
assert
_has_mlflow
,
"MLflow
Callback
requires mlflow to be installed. Run `pip install mlflow`."
self
.
_initialized
=
False
self
.
_initialized
=
False
self
.
_log_artifacts
=
False
self
.
_log_artifacts
=
False
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment