TUI-NICR / ESANet

ESANet: Efficient RGB-D Semantic Segmentation for Indoor Scene Analysis
Other
236 stars 51 forks source link

how to solve the below question? #37

Closed zhouqunbing closed 2 years ago

zhouqunbing commented 2 years ago

urllib.error.HTTPError: HTTP Error 403: Forbidden

mona0809 commented 2 years ago

Where does this error occur? Please provide the full call and error log.

zhouqunbing commented 2 years ago

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

mona0809 commented 2 years ago

Sorry, I can not reproduce the error. It seems like you can not download the NYUv2 data: https://github.com/TUI-NICR/ESANet/blob/e929e47feaba7aa6d612648f610d9fe55ce375d1/src/datasets/nyuv2/prepare_dataset.py#L32 Can you manually download the mat file?

zhouqunbing commented 2 years ago

Sorry, I can not reproduce the error. It seems like you can not download the NYUv2 data:

https://github.com/TUI-NICR/ESANet/blob/e929e47feaba7aa6d612648f610d9fe55ce375d1/src/datasets/nyuv2/prepare_dataset.py#L32

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.

zhouqunbing commented 2 years ago

Sorry, I can not reproduce the error. It seems like you can not download the NYUv2 data: https://github.com/TUI-NICR/ESANet/blob/e929e47feaba7aa6d612648f610d9fe55ce375d1/src/datasets/nyuv2/prepare_dataset.py#L32

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.