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

SemanticKitti/Randlanet/SemanticSegmentation: Prediction labels offset by -1? #670

Open
3 tasks done
john-philipp opened this issue Jan 22, 2025 · 0 comments
Open
3 tasks done
Labels
question Further information is requested

Comments

@john-philipp
Copy link
Contributor

Checklist

My Question

I'm training my model on a dataset containing labels [4, 12, 14]. But on inference I get back [3, 11, 13] with accuracies in the high 90%s. Checking internally, that's because the code doesn't include unlabeled:0 in its set of predictable labels (which makes sense) and we arrive at 19 possible labels indexed as 0-18 (not including unlabeled). As opposed to the original 20 indexed as 0-19 (including unlabeled). So I sort of get it. I just find the return values unintuitive, since they're not indexed the same as my input values. Rather offset by -1. Which - from the outside - you have to implicitly know.

The fix for the extrenal code is pretty trivial. Just increment by 1. But again, at least to me, this seems like an upstream issue.

Thanks for your help. :)

@john-philipp john-philipp added the question Further information is requested label Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant