how to solve the below question?
zhouqunbing opened this issue · comments
urllib.error.HTTPError: HTTP Error 403: Forbidden
Where does this error occur? Please provide the full call and error log.
Where does this error occur? Please provide the full call and error log.
(rgbd_segmentation) root@dl-1735582899-pod-jupyter-548449c4c-xztpr:~/ESANet-main/src/datasets/nyuv2# python prepare_dataset.py ../../../datasets/nyuv2
Downloading mat file to:/tmp/nyu_depth_v2_labeled.mat
nyu_depth_v2_labeled.mat: 0.00B [00:00, ?B/s]
Traceback (most recent call last):
File "prepare_dataset.py", line 127, in
download_file(DATASET_URL, mat_filepath, display_progressbar=True)
File "prepare_dataset.py", line 49, in download_file
reporthook=t.update_to)
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 247, in urlretrieve
with contextlib.closing(urlopen(url, data)) as fp:
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 531, in open
response = meth(req, response)
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 641, in http_response
'http', request, response, code, msg, hdrs)
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 503, in _call_chain
result = func(*args)
File "/root/.local/conda/envs/rgbd_segmentation/lib/python3.7/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Sorry, I can not reproduce the error. It seems like you can not download the NYUv2 data:
Can you manually download the mat file?
Sorry, I can not reproduce the error. It seems like you can not download the NYUv2 data:
Can you manually download the mat file?
yes,i download the dataset manually, it is ''nyu_depth_v2_labeled.mat'',but i do
not know how to unzip or convert the ''nyu_depth_v2_labeled.mat'',which file do i need to run?Thank you very much.
Sorry, I can not reproduce the error. It seems like you can not download the NYUv2 data:
Can you manually download the mat file?
yes,i download the dataset manually, it is ''nyu_depth_v2_labeled.mat'',but i do
not know how to unzip or convert the ''nyu_depth_v2_labeled.mat'',which file do i need to run?Thank you very much.
i have solved the bug, my cuda memory is to small to unzip,thank you very much,respect to you.