fxia22/pointnet.pytorch

Error when running train_segmentation.py

RonaldYuren opened this issue · 3 comments

File "show_seg.py", line 30, in
data_augmentation=False)
File "/home/gene/YuRen/pointnet.pytorch/pointnet/dataset.py", line 107, in init
self.num_seg_classes = self.seg_classes[list(self.cat.keys())[0]]
IndexError: list index out of range

As above, I am facing the problem I have no idea to deal with, please help!!
PS:The training progress is fine, so I think there might be some part of code I need to change when I am running on my server.

@RonaldYuren Hello, have you solved the problem ? I also have the problem and I will be appreciate it if you can give me some advice here. Looking forward to your reply.

@RonaldYuren @ProgramWho
My computer is running normally.
Have you downloaded the dataset and configured the path of the dataset correctly?
self. cat stores the contents of synsetoffset2category.txt.
synsetoffset2category.txt is part of a dataset.

I also encountered this issue, and I found that it was due to the issue of "class_choice=cap". I should use the initial capital letter "Cap" instead, so the correct form should be "class_choice=Cap"