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

Error when executing code 'data_prepare_s3dis.py'

Open IMSHJI opened this issue 3 years ago • 10 comments

I downloaded the S3DIS data set, created and moved the data/S3DIS/ folder, but the following error occurred when the 'data_prepare_s3dis.py' code was executed.

Screenshot from 2021-05-31 16-36-39

Any idea why I'm getting the 'original_ply' error? There was no original_ply in the s3dis dataset..

IMSHJI avatar May 31 '21 07:05 IMSHJI

Maybe you need to add the full path? dataset_path =‘ ’

lmsdss avatar Jul 23 '21 08:07 lmsdss

@IMSHJI @lmsdss I'm trying to run the data_prepare_s3dis python file, it shows me this error:

''' 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 ideas?

youssef962 avatar Sep 24 '21 12:09 youssef962

@youssef962

Did you download the s3dis dataset?

if you downloaded

As long as the path is specified correctly, the preprocessing code runs without problems.

IMSHJI avatar Sep 24 '21 20:09 IMSHJI

@IMSHJI I downloaded the data and the problem is that the data_list array is empty! I printed it out and it was supposed to have the saved data but found it empty!

youssef962 avatar Sep 27 '21 10:09 youssef962

Maybe you need to add the full path? dataset_path =‘ ’

I'm having the same error and i copied the full path and nothing changed! @IMSHJI how did you solve it? @lmsdss

youssef962 avatar Sep 28 '21 19:09 youssef962

any help? @IMSHJI

youssef962 avatar Sep 29 '21 19:09 youssef962

@youssef962

I don't know.. Running the code in ubuntu seems to solve it, but The error that there is no array is considered to be caused by the Windows environment in my opinion.

IMSHJI avatar Oct 01 '21 00:10 IMSHJI

@IMSHJI @lmsdss I'm trying to run the data_prepare_s3dis python file, it shows me this error:

''' 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 ideas?

i got the same problem, have u find anyway to solve it?

Mzzzzzzzzz avatar Apr 21 '22 06:04 Mzzzzzzzzz

Check your dataset path, maybe you should add ./ to redirect to your parent folder, makbe it will work.

Kukdo avatar Apr 10 '23 08:04 Kukdo

Move the extracted folder to RandLA-Net/ directory and change the path to S3DIS/Stanford3dDataset_v1.2_Aligned_Version.

kryptoniancode avatar Apr 19 '23 14:04 kryptoniancode