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
4ab5617b
Unverified
Commit
4ab5617b
authored
Nov 09, 2020
by
Stas Bekman
Committed by
GitHub
Nov 09, 2020
Browse files
comet_ml temporary fix(#8410)
parent
e6d9cdaa
Changes
1
Show 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 @
4ab5617b
...
@@ -14,7 +14,7 @@ try:
...
@@ -14,7 +14,7 @@ try:
# Comet needs to be imported before any ML frameworks
# Comet needs to be imported before any ML frameworks
import
comet_ml
# noqa: F401
import
comet_ml
# noqa: F401
if
comet_ml
.
config
.
get_config
(
"comet.api_key"
):
if
hasattr
(
comet_ml
,
"config"
)
and
comet_ml
.
config
.
get_config
(
"comet.api_key"
):
_has_comet
=
True
_has_comet
=
True
else
:
else
:
if
os
.
getenv
(
"COMET_MODE"
,
""
).
upper
()
!=
"DISABLED"
:
if
os
.
getenv
(
"COMET_MODE"
,
""
).
upper
()
!=
"DISABLED"
:
...
...
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