Comments (3)
@MiXaiLL76 I tried again and it works, not sure what triggered the error before, sorry about that. Thanks for your answer :)
from faster_coco_eval.
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.
inds = np.argsort([-d["score"] for d in dt], kind="mergesort")
Sorts detections by the score parameter. Which should be
from faster_coco_eval.
@patrontheo Are there any new examples of the bug? or I close this issue
from faster_coco_eval.
Related Issues (7)
- I got an exception HOT 1
- hi,i want to consults how to selove this error "ModuleNotFoundError: No module named 'faster_coco_eval'" HOT 1
- Error in accumulate: math_matches error: Assertion error in line 157 HOT 4
- a function for non-coco format data HOT 1
- It seems that faster_coco_eval 1.3.1 has something that must be fixed. HOT 1
- Error when importing faster_eval_coco in python3.7.5 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faster_coco_eval.