Error while downloading PascalVOC dataset using torchvision

while running: torchvision.datasets.VOCDetection("./",download=True,transform=transforms.Compose([transforms.ToTensor()]))
I got this error:
584 while True:
585 try:
–> 586 return self._sock.recv_into(b)
587 except timeout:
588 self._timeout_occurred = True

ConnectionResetError: [Errno 104] Connection reset by peer

The connection just timed out. Could you retry the download?

The error still appears.
I also tried to download it from http://host.robots.ox.ac.uk/pascal/VOC/ but it’s also showing Error104

The host site is indeed down, so nothing you can do from your side.

1 Like