Megvii-BaseDetection / Megvii-BaseDetection/YOLOX

Multi label training without overlap

Open
#1,822 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report provides no file, test, or traceback to identify the failing path. Start by reproducing training with multiple non-overlapping class annotations for one image, then inspect the resulting index error and dataset annotation handling; done means the supported data format is confirmed or the failure is isolated with a reproducible case.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-vision, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.