D-FINE icon indicating copy to clipboard operation
D-FINE copied to clipboard

update to simple version of coco eval

Open MiXaiLL76 opened this issue 7 months ago • 1 comments

Hello again my friend! Thank you for using faster-coco-eval to validate your models! I want to offer you an even easier way to integrate your developments!

I implemented and tested two modules:

  1. FasterCocoDetection - a dataset that uses faster-coco-eval instead of pycocotools in torchvision https://github.com/MiXaiLL76/faster_coco_eval/blob/main/faster_coco_eval/utils/pytorch/coco_dataset.py
  2. FasterCocoEvaluator - a validator that is a clone of DETR validators, configured to work quickly with faster-coco-eval https://github.com/MiXaiLL76/faster_coco_eval/blob/main/faster_coco_eval/utils/pytorch/coco_eval.py

Why did I do this? - I'm trying to tidy up a bunch of repositories that can use common developments.

For you I have implemented and tested the validation with the implementation of these functions, to check you need to study my code and update the library to version 1.6.6 (available on pypi & conda)

Less code - more time to think about great things)

MiXaiLL76 avatar May 22 '25 18:05 MiXaiLL76

Whoa, nice work. I dug into your project while working with DFINE and keypoints. I would be interested in this PR!

broomhead avatar May 22 '25 22:05 broomhead

can you guys merge?