-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Fix deprecated numpy.float
in cocoeval.py
#624
base: master
Are you sure you want to change the base?
Fix deprecated numpy.float
in cocoeval.py
#624
Conversation
This is really urgent now. |
Agreed. This is very urgent and we would not like to downgrade our version of numpy. Thanks! |
Did a hacky workaround without downgrading numpy, which happens to work for our needs until this repo gets updated. Needs to be done at the beginning of your script that imports
|
Sadly, nobody seems to maintain this repo anymore 😢 |
can confirm with the latest versions of numpy, pycocotools breaks. The fix proposed by @cchan-lm works but can definitely have unintended side effects |
So, is pycocotools dead? Should someone take over and make sure those merge requests get updated? We also need this Numpy changes. |
It might be... https://cocodataset.org/ mentions partnership with FiftyOne, so I wonder if this means pycocotools is no longer being maintained in favor of FiftyOne? |
https://github.com/facebookresearch/detr/blob/main/datasets/coco_eval.py This script could be a good alternative to use from now on |
Fixes #505