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
13aa1741
Commit
13aa1741
authored
Jun 09, 2020
by
Lysandre
Browse files
uninstalled wandb raises AttributeError
parent
6e603cb7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/trainer.py
src/transformers/trainer.py
+1
-1
No files found.
src/transformers/trainer.py
View file @
13aa1741
...
...
@@ -69,7 +69,7 @@ try:
wandb
.
termwarn
(
"W&B installed but not logged in. Run `wandb login` or set the WANDB_API_KEY env variable."
)
else
:
_has_wandb
=
False
if
os
.
getenv
(
"WANDB_DISABLED"
)
else
True
except
ImportError
:
except
(
ImportError
,
AttributeError
)
:
_has_wandb
=
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