Possible to apply multiple labels to multiple bounding boxes?

Can someone please explain how to apply multiple labels to multiple bounding boxes?

car1.png

car2.png

I can use the example here (scroll to ObjectItemList.from_folder(coco)) to apply single labels to multiple bounding boxes, but not multiple labels

Working code I tried for single label, multiple bounding box:


With correct data creation (see x and y):


Non working code I tried for multiple label, multiple bounding box:


With error:

Note, I have provided a ‘MultiCategoryList’ correctly. I suspect part of the issue is that a ‘MultiCategoryList’ (y) cannot be applied to an ObjectItemList (x). I can’t see what it can be applied to though.
image

Thanks in advance for any help! I’ve been trying to solve this for ages :tired_face:

1 Like

@kushty can you please share the example which you refered , i am also working on single boxes with multiple labels ??