We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a54301 commit 26e3473Copy full SHA for 26e3473
torchvision/datasets/_utils.py
@@ -1,4 +1,4 @@
1
-def _download_file_from_remote_location(fpath: str) -> None:
+def _download_file_from_remote_location(fpath: str, url: str) -> None:
2
pass
3
4
torchvision/datasets/utils.py
@@ -123,7 +123,7 @@ def download_url(
123
return
124
125
if _is_remote_location_available():
126
- _download_file_from_remote_location(fpath)
+ _download_file_from_remote_location(fpath, url)
127
else:
128
# expand redirect chain if needed
129
url = _get_redirect_url(url, max_hops=max_redirect_hops)
0 commit comments