-
Notifications
You must be signed in to change notification settings - Fork 3
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
Error when instanciating a Curves object #21
Comments
I can not reproduce (colab): > md5sum preds.json
a3e73672a41eeb695daa02cb294b2f12 preds.json
> md5sum gt.json
639c028f1228d12b38dbc556dbab2349 gt.json Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from faster_coco_eval import COCO
>>> from faster_coco_eval.extra import Curves
>>> import faster_coco_eval
>>> faster_coco_eval.__version__
'1.4.3'
>>> cocoGt = COCO('gt.json')
>>> cocoDt = cocoGt.loadRes('preds.json')
>>> cur = Curves(cocoGt, cocoDt, iou_tresh=0.5, iouType='bbox')
>>> cur
<faster_coco_eval.extra.curves.Curves object at 0x7f8684e7bb20>
>>> Perhaps in your preds not all detections have a score.
Sorts detections by the score parameter. Which should be |
@patrontheo Are there any new examples of the bug? or I close this issue |
@MiXaiLL76 I tried again and it works, not sure what triggered the error before, sorry about that. Thanks for your answer :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I can't instanciate a Curves object.
To Reproduce
Expected behavior
I expect this command to run without errors.
Additional context
The ground truths and annotation files are the same as in my previous issue (#19).
The text was updated successfully, but these errors were encountered: