Skip to content

Commit

Permalink
Ignore missing report warning for requests (#4011)
Browse files Browse the repository at this point in the history
  • Loading branch information
datumbox authored Jun 9, 2021
1 parent a00c735 commit ea6be12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/datasets/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ea6be12

Please sign in to comment.