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
OpenDAS
vision
Commits
ea6be124
"vscode:/vscode.git/clone" did not exist on "2fcdbee7691df70ce2b7230ff5b7512101ae769c"
Unverified
Commit
ea6be124
authored
Jun 09, 2021
by
Vasilis Vryniotis
Committed by
GitHub
Jun 09, 2021
Browse files
Ignore missing report warning for requests (#4011)
parent
a00c735d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/datasets/utils.py
torchvision/datasets/utils.py
+1
-1
No files found.
torchvision/datasets/utils.py
View file @
ea6be124
...
...
@@ -201,7 +201,7 @@ def download_file_from_google_drive(file_id: str, root: str, filename: Optional[
md5 (str, optional): MD5 checksum of the download. If None, do not check
"""
# Based on https://stackoverflow.com/questions/38511444/python-download-files-from-google-drive-using-url
import
requests
import
requests
# type: ignore
url
=
"https://docs.google.com/uc?export=download"
root
=
os
.
path
.
expanduser
(
root
)
...
...
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