Skip to content
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 when running train_segmentation.py #94

Open
RonaldYuren opened this issue Feb 23, 2022 · 3 comments
Open

Error when running train_segmentation.py #94

RonaldYuren opened this issue Feb 23, 2022 · 3 comments

Comments

@RonaldYuren
Copy link

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.

@ProgramWho
Copy link

@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.

@dotJunz
Copy link

dotJunz commented Nov 9, 2022

@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.

@tangsankou
Copy link

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants