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

标签未对齐 #1

Open
obouluh opened this issue Jun 18, 2021 · 1 comment
Open

标签未对齐 #1

obouluh opened this issue Jun 18, 2021 · 1 comment

Comments

@obouluh
Copy link

obouluh commented Jun 18, 2021

并非每个id的点云都能包含所有的类型的标签,训练时配置项默认设定的label数量为5,一旦出现不一致的情况,就会警示⚠️
f"self.cfg['num_classes'] {self.cfg['num_classes']} is different"
AssertionError: self.cfg['num_classes'] 5 is differentfrom len(pc_labels) 3

@Gabry993
Copy link
Contributor

Gabry993 commented Jun 18, 2021

Hi.
Yes, this is not well documented, but the idea is that the first point cloud provided in the point cloud list must contain all the possible labels (i.e. len(pc_labels) == self.cfg['num_classes']). Then, other point clouds must contain a subset of those.
This is not ideal, but it was convenient for our own setup.
Changing this behavior shouldn't be too complicated. I'll try to change it if I find the time to do it :)

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

2 participants