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
320b7a7e
"examples/nas/vscode:/vscode.git/clone" did not exist on "32efaa366bb067cf6171138b87c0480903f10f10"
Commit
320b7a7e
authored
Oct 07, 2019
by
thomwolf
Browse files
fix #1416
parent
dbed1c5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
transformers/file_utils.py
transformers/file_utils.py
+1
-1
No files found.
transformers/file_utils.py
View file @
320b7a7e
...
...
@@ -27,7 +27,7 @@ logger = logging.getLogger(__name__) # pylint: disable=invalid-name
try
:
import
tensorflow
as
tf
assert
int
(
tf
.
__version__
[
0
])
>=
2
assert
hasattr
(
tf
,
'__version__'
)
and
int
(
tf
.
__version__
[
0
])
>=
2
_tf_available
=
True
# pylint: disable=invalid-name
logger
.
info
(
"TensorFlow version {} available."
.
format
(
tf
.
__version__
))
except
(
ImportError
,
AssertionError
):
...
...
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