Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use TIDE on my own dataset - given coco-formatted Ground-Truth and predicted Bounding Boxes? #51

Open
codingbutstillalive opened this issue May 11, 2023 · 2 comments

Comments

@codingbutstillalive
Copy link

I mean, I intuitively thought so. But then I read "The currently supported datasets are COCO, LVIS, Pascal, and Cityscapes. More details and documentation on how to write your own database drivers coming soon!". So I am wondering. I mean.. this shouldn't really be an issue.

@ZHAOBenyun
Copy link

hi, have you solved this problem?

@Michael-24
Copy link

Traceback (most recent call last):
File "/home/gonglianghao/object_detection/ultralytics4.12/get_COCO_metrics.py", line 50, in
gt = datasets.COCO(annFile)
File "/home/gonglianghao/miniconda3/envs/yolov8_new/lib/python3.9/site-packages/tidecv/datasets.py", line 102, in COCO
mask = f.toRLE(ann['segmentation'], image_lookup[image]['width'], image_lookup[image]['height'])
File "/home/gonglianghao/miniconda3/envs/yolov8_new/lib/python3.9/site-packages/tidecv/functions.py", line 90, in toRLE
rles = maskUtils.frPyObjects(mask, h, w)
File "pycocotools/_mask.pyx", line 293, in pycocotools._mask.frPyObjects
IndexError: list index out of range
how can i fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants