tide icon indicating copy to clipboard operation
tide copied to clipboard

How to implement TIDE for custom dataset?

Open LIKHITA12 opened this issue 3 years ago • 7 comments

In my dataset i have one half as COCO dataset and other half as custom added dataset. So now, how should i check performance of model? Can you please explain in step by step?

LIKHITA12 avatar Dec 13 '20 18:12 LIKHITA12

same question

TommyZihao avatar Jan 12 '21 14:01 TommyZihao

Same question

RizhaoCai avatar Feb 10 '21 03:02 RizhaoCai

+1

+1

BaofengZan avatar Jun 01 '21 08:06 BaofengZan

pycocotools' dataset abstraction does not provided an API that's ergonomic for non-COCO data, but this library does; it's why I'm trying it out. Make a Data instance for you ground truth data, and one for your test data, fill them up using the add_* methods, and then trigger evaluation. I just noticed that Tide does NOT rle compress masks as you add them, so beware of high RAM usage. Data.add_detection and friends to NOT rle compress masks as you add them... hopefully it won't complain if you compress them using calls to pycocotols before passing them in.

drewm1980 avatar Nov 25 '21 14:11 drewm1980

Any updates regarding adding your own custom dataset drivers?

vjsrinivas avatar Feb 02 '22 03:02 vjsrinivas

If someone wants an example of what @drewm1980 had mentioned to get a custom dataset driver working, here's an example of another non-COCO-related dataset working (VOC2007): https://gist.github.com/vjsrinivas/56ca6e209adf23be17b9d2266b288c71

It's still calculating the 101-point interpolation in COCO AP so it is not equal to VOC2007 mAP eval, but you can probably adjust it to get the same output values.

vjsrinivas avatar Feb 03 '22 05:02 vjsrinivas