Skip to content

Multi label training without overlap #1822

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

Open
ShayAdaddi opened this issue Feb 18, 2025 · 1 comment
Open

Multi label training without overlap #1822

ShayAdaddi opened this issue Feb 18, 2025 · 1 comment

Comments

@ShayAdaddi
Copy link

Hello,

I succeeded to train a multi class model when I had one annotation per image.
I found out I have more than one class for some of the images so I added annotations with a unique id and same image_id that reflect multiple classes bounding boxes in the same image. There are no overlaps.

The training fails now due to some exceeding index isuue.

I think this problem comes from the fact that my data originally was organised as:

root folder
--> category 1 folder
--> category 2 folder
--> category 3 folder

but actually now images from category 3 folder has bounding boxes of category 2 in the annotation file.

Does yolox supports that ?
If yes, what have I missed ? and how can I debug that ? Thanks!

@akonanykhin
Copy link

It supports multiclass datasets. For example, CoCo is multiclass.
I've noticed there is indexing issue in the coco_evaluator which happens when eval set does not contain all of the same classes as train set.
You can either fix the evaluator, or fix your eval set.

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