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

Is class numbering with gaps supported for training on custom datasets? #669

Open
3 tasks done
MJ0t opened this issue Jan 13, 2025 · 0 comments
Open
3 tasks done
Labels
question Further information is requested

Comments

@MJ0t
Copy link

MJ0t commented Jan 13, 2025

Checklist

My Question

Hi,

I have data following the standard Las classification, meaning that some indices are unused or reserved. If possible I would like to use this data directly and only configure dataset and pipeline to handle the class to index mapping.
I am fine-tuning a KP-Conv model with the output layer modified to fit our number of classes.

From the CustomDataset3D label_to_index - template I assume that a mapping from a arbitrary class number to the consecutive output-channel index is somehow supported.

When running the training pipeline, I get an index out of bounds error here, since the 'label' == 65 is greater than my number of classes.

It is not a big deal to write the processing to re-index the class numbers. I am just wondering: is this functionality is actually supported? And, I am missing something completely?

Thanks in advance for any support

@MJ0t MJ0t added the question Further information is requested label Jan 13, 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