Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
1c19b423
Unverified
Commit
1c19b423
authored
Jan 08, 2021
by
Boris Dayma
Committed by
GitHub
Jan 08, 2021
Browse files
fix(wandb): fix config (#9489)
parent
02e05fb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/transformers/integrations.py
src/transformers/integrations.py
+2
-2
No files found.
src/transformers/integrations.py
View file @
1c19b423
...
@@ -333,9 +333,9 @@ class WandbCallback(TrainerCallback):
...
@@ -333,9 +333,9 @@ class WandbCallback(TrainerCallback):
logger
.
warning
(
logger
.
warning
(
"W&B installed but not logged in. Run `wandb login` or set the WANDB_API_KEY env variable."
"W&B installed but not logged in. Run `wandb login` or set the WANDB_API_KEY env variable."
)
)
self
.
_wandb
=
wandb
else
:
self
.
_wandb
=
None
self
.
_wandb
=
None
else
:
self
.
_wandb
=
wandb
self
.
_initialized
=
False
self
.
_initialized
=
False
def
setup
(
self
,
args
,
state
,
model
,
reinit
,
**
kwargs
):
def
setup
(
self
,
args
,
state
,
model
,
reinit
,
**
kwargs
):
...
...
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