GAP-LAB-CUHK-SZ / Total3DUnderstanding

Implementation of CVPR'20 Oral: Total3DUnderstanding: Joint Layout, Object Pose and Mesh Reconstruction for Indoor Scenes from a Single Image
MIT License
415 stars 50 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './data/sunrgbd/Dataset/data_clean/imagelist.txt' #28

Open monacv opened 3 years ago

monacv commented 3 years ago

I get the following error:

1097/31773MB
[162691:2271 0:721] 06:33:56 Thu Dec 24 [mona@goku:pts/13 +1] ~/research/code/Total3DUnderstanding-Dawnlight
$ python utils/generate_data.py
Processing sample ID: 1.
Processing sample ID: 646.
Processing sample ID: 1293.
Processing sample ID: 1939.
Processing sample ID: 2584.
Processing sample ID: 3230.
Processing sample ID: 3875.
Processing sample ID: 4520.
Processing sample ID: 5165.
Processing sample ID: 5810.
Processing sample ID: 6455.
Processing sample ID: 7100.
Processing sample ID: 7745.
Processing sample ID: 8390.
Processing sample ID: 9039.
Processing sample ID: 9692.
multiprocessing.pool.RemoteTraceback: 
"""
Traceback (most recent call last):
  File "/home/mona/anaconda3/lib/python3.8/multiprocessing/pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "/home/mona/anaconda3/lib/python3.8/multiprocessing/pool.py", line 48, in mapstar
    return list(map(*args))
  File "utils/generate_data.py", line 128, in save_gt_result
    sequence = readsunrgbdframe(sunrgbd_config, image_id=i + 1)
  File "/home/mona/research/code/Total3DUnderstanding-Dawnlight/utils/sunrgbd_utils.py", line 326, in readsunrgbdframe
    with open(os.path.join(clean_data_path, 'imagelist.txt'), 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: './data/sunrgbd/Dataset/data_clean/imagelist.txt'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "utils/generate_data.py", line 311, in <module>
    train_path_list_no_flip, test_path_list_no_flip = preprocess(sunrgbd_config, gt_config, metadata, iou_threshold=0.1, flip=False)
  File "utils/generate_data.py", line 278, in preprocess
    save_outputs = p.map(save_gt_result, sample_inputs)
  File "/home/mona/anaconda3/lib/python3.8/multiprocessing/pool.py", line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "/home/mona/anaconda3/lib/python3.8/multiprocessing/pool.py", line 771, in get
    raise self._value
FileNotFoundError: [Errno 2] No such file or directory: './data/sunrgbd/Dataset/data_clean/imagelist.txt'

I only have this part of the folder and there's no Dataset folder inside data/sunrgbd

663/31773MB
[162691:2271 0:726] 06:36:01 Thu Dec 24 [mona@goku:pts/13 +1] ~/research/code/Total3DUnderstanding-Dawnlight
$ ls data/sunrgbd/
total 264K
-rwxrwxr-x 1 mona mona  71K Dec 24 17:25 SUNRGBD_37_mapping.mat
drwxrwxr-x 4 mona mona 4.0K Dec 24 17:25 ..
drwxrwxr-x 2 mona mona 4.0K Dec 24 17:25 splits
drwxrwxr-x 2 mona mona 4.0K Dec 24 17:25 preprocessed
-rw-rw-r-- 1 mona mona 172K Dec 24 17:25 class_mapping_from_toolbox.csv
drwxrwxr-x 5 mona mona 4.0K Dec 24 17:52 .
drwxrwxr-x 3 mona mona 4.0K Dec 24 18:18 sunrgbd_train_test_data