RuntimeError: File not found or corrupted.
Opened this issue · 1 comments
Total message:
python voc_sbd.py
Using downloaded and verified file: ./PASCAL-5i/VOCtrainval_11-May-2012.tar
Extracting ./PASCAL-5i/VOCtrainval_11-May-2012.tar to ./PASCAL-5i
Downloading https://www2.eecs.berkeley.edu/Research/Projects/CS/vision/grouping/semantic_contours/benchmark.tgz to ./PASCAL-5i/benchmark.tgz
1419540480it [09:34, 2468838.86it/s]
Extracting ./PASCAL-5i/benchmark.tgz to ./PASCAL-5i
Downloading https://www.cs.cornell.edu/~bharathh/ to ./PASCAL-5i/train_noval.txt
21504it [00:00, 77987.82it/s]
Traceback (most recent call last):
File "voc_sbd.py", line 917, in
run_VOCSBDSegmentation5i_from_scratch()
File "voc_sbd.py", line 682, in run_VOCSBDSegmentation5i_from_scratch
voc = VOCSBDSegmentation5i(roots=roots_path,
File "voc_sbd.py", line 282, in init
super().init(*args, **kwargs)
File "voc_sbd.py", line 89, in init
self.sbd = SBDataset(root=roots or root_sbd,
File "/home/miniconda3/envs/msa/lib/python3.8/site-packages/torchvision/datasets/sbd.py", line 83, in init
download_url(self.voc_train_url, sbd_root, self.voc_split_filename, self.voc_split_md5)
File "/home/miniconda3/envs/msa/lib/python3.8/site-packages/torchvision/datasets/utils.py", line 152, in download_url
raise RuntimeError("File not found or corrupted.")
RuntimeError: File not found or corrupted.
What should I do?
The error indicates that the downloaded file may be incomplete. Check the benchmark.tgz
file or other related files to see if they are completely downloaded or not.