RandLA-Net icon indicating copy to clipboard operation
RandLA-Net copied to clipboard

ValueError: need at least one array to concatenate ...... while running data_prepare_s3dis

Open youssef962 opened this issue 4 years ago • 3 comments

@QingyongHu I'm trying to run ''data_prepare_s3dis.py'' file and it's showing me this error:

''' randla-net\data\S3DIS\Stanford3dDataset_v1.2_Aligned_Version/Area_1/conferenceRoom_1/Annotations Traceback (most recent call last): File "data_prepare_s3dis.py", line 80, in convert_pc2ply(annotation_path, join(original_pc_folder, out_file_name)) File "data_prepare_s3dis.py", line 47, in convert_pc2ply pc_label = np.concatenate(data_list, 0) File "<array_function internals>", line 6, in concatenate ValueError: need at least one array to concatenate ''' Any help please?!

youssef962 avatar Sep 24 '21 12:09 youssef962

Hi @youssef962, in data_prepare_s3dis.py edit data path or change to absolute path of dataset.

merazlab avatar Dec 10 '21 20:12 merazlab

It worked! thanks very much @merazlab

youssef962 avatar Dec 11 '21 10:12 youssef962

please check the error I had in issue #207 if you have a solution I would be grateful

youssef962 avatar Dec 11 '21 10:12 youssef962