Data preparation about S3DIS step 3
Closed this issue · 4 comments
Hello, I think I need some help with data preprocessing.
I have completed the first two steps of preparation for S3DIS. The generated numpy files are stored in ./datasets/S3DIS/scenes/ by default successfully.
I run 'python ./preprocess/room2blocks.py --data_path=./datasets/S3DIS/scenes/' under the attMPTI folder. It show :
0 scenes to be split...
Total samples: 0
I run 'python room2blocks.py --data_path=../datasets/S3DIS/scenes/' under the preprocess folder. It show:
0 scenes to be split...
Total samples: 0
I don't understand why this problem occurs, when the npy file has already been generated into the default folder.
Hi. Thanks for pointing out this problem.
It happened because the collected npy files should be put under ./datasets/S3DIS/scenes/data
folder.
Please check the latest version with the correct save path for both datasets:
attMPTI/preprocess/collect_s3dis_data.py
Lines 70 to 71 in 7ca79ab
attMPTI/preprocess/collect_scannet_data.py
Lines 120 to 121 in 7ca79ab
Thank you for your reply, but the problem doesn't seem to be solved.
I've put the npy files under ./datasets/S3DIS/scenes/data and run
'python room2blocks.py --data_path=/attMPTI-main/datasets/S3DIS/scenes/data/' under the preprocess folder,
It show:
0 scenes to be split...
Total samples: 0
Have u tried python ./preprocess/room2blocks.py --data_path ./datasets/S3DIS/scenes/
under the attMPTI
?
Thank you very much.
I tried the instruction you said and it works.