Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
[ghstack-poisoned]
  • Loading branch information
NicolasHug committed Oct 17, 2024
1 parent ae192fd commit f8eb179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions torchvision/datasets/mnist.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ def download(self) -> None:
break
else:
s = f"Error downloading {filename}:\n"
for mirror, e in zip(self.mirrors, errors):
s += f"Tried {mirror}, got:\n{str(e)}\n"
for mirror, err in zip(self.mirrors, errors):
s += f"Tried {mirror}, got:\n{str(err)}\n"
raise RuntimeError(s)

def extra_repr(self) -> str:
Expand Down

0 comments on commit f8eb179

Please sign in to comment.