Hello, dear author, after I downloaded the S3DIS data set, I encountered the following error when I was executing python train.py. I hope the author can help me solve this problem.
你好,亲爱的作者,我下载好S3DIS数据集后,当我在执行到python train.py的时候,我遇到了以下错误,希望作者能帮助我解决这个问题。
Cloud Area_4 - Room 21/49 : storage_4
Cloud Area_4 - Room 22/49 : hallway_13
Cloud Area_4 - Room 23/49 : storage_3
Cloud Area_4 - Room 24/49 : office_9
/home/lil/AdaptConv-master-main/sem_seg/datasets/S3DIS.py:678: UserWarning: loadtxt: Empty input file: "./data/Stanford3dDataset_v1.2/Area_4/office_9/Annotations/chair_3.txt"
object_data = np.loadtxt(object_file, dtype=np.float32)
Traceback (most recent call last):
File "/home/lil/AdaptConv-master-main/sem_seg/train.py", line 766, in
main()
File "/home/lil/AdaptConv-master-main/sem_seg/train.py", line 226, in main
training_dataset = S3DISDataset(config, args.dataset, set='training', use_potentials=True)
File "/home/lil/AdaptConv-master-main/sem_seg/datasets/S3DIS.py", line 133, in init
self.prepare_S3DIS_ply()
File "/home/lil/AdaptConv-master-main/sem_seg/datasets/S3DIS.py", line 681, in prepare_S3DIS_ply
cloud_points = np.vstack((cloud_points, object_data[:, 0:3].astype(np.float32)))
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
Thanks