-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error in S3DIS indoor segmentation #8
Comments
Check this file: ./data/Stanford3dDataset_v1.2/Area_4/office_9/Annotations/chair_3.txt It should be something but the loading function gets an empty array, which may lead to the error. You may check the dataset or download it again. |
Thank you very much for your reply. This problem has been solved, but a new mistake has appeared. The new mistake is as follows.I would like to ask why such mistakes occur and the solution Model size 15767693 Done in 0.1s Start training Traceback (most recent call last): Thanks |
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
The text was updated successfully, but these errors were encountered: