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

why num_points must always bigger than self.num_points #25

Open
Assassincup opened this issue Apr 7, 2024 · 0 comments
Open

why num_points must always bigger than self.num_points #25

Assassincup opened this issue Apr 7, 2024 · 0 comments

Comments

@Assassincup
Copy link

_, inds, inverse_map = sparse_quantize(pc_, return_index=True, return_inverse=True) if self.training and len(inds) > self.num_points: # NOTE: num_points must always bigger than self.num_points raise RuntimeError('droping point') inds = np.random.choice(inds, self.num_points, replace=False)

您好,这部分代码来自于semantickitti_fusion,这里是想说一个sample中的点数必须大于self.num_points,然后进行采样来让每个样本都使用self.num_points个点训练吗,如果是希望采样的话又为什么要返回runtimeerror,如果是希望self.num_points限制数据最大点数,这个 num_points must always bigger than self.num_points又是为什么,这部分有点弄不清楚,希望得到您的解答,感谢。

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

1 participant