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
d311f87b
Commit
d311f87b
authored
Feb 07, 2020
by
thomwolf
Browse files
cleanup
parent
7d99e05f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/transformers/file_utils.py
src/transformers/file_utils.py
+2
-0
No files found.
src/transformers/file_utils.py
View file @
d311f87b
...
...
@@ -287,6 +287,8 @@ def cached_path(
tar_file
=
tarfile
.
open
(
output_path
)
tar_file
.
extractall
(
output_path_extracted
)
tar_file
.
close
()
else
:
raise
EnvironmentError
(
"Archive format of {} could not be identified"
.
format
(
output_path
))
return
output_path_extracted
...
...
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