Load a COCO format database from disk for DETR

I have a COCO database in my disk (with a JSON in the annotations folder that contains image directions) and I would like to load it in HF dataset in orther to use CV models.

Is there a function that allows that?

1 Like

Hmm… This?

There is no COCO loader in the datasets library, but it would be a welcomed contribution in my opinion.

All the existing data modules are listed here

1 Like