![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
This package wraps a facebook C++ implementation of COCO-eval operations found in the pycocotools package. This implementation greatly speeds up the evaluation time for coco's AP metrics, especially when dealing with a high number of instances in an image.
For our use case with a test dataset of 1500 images that contains up to 2000 instances per image we saw up to a 100x faster evaluation using fast-coco-eval (FCE) compared to the original pycocotools code.
Seg eval pycocotools 4 hours
Seg eval FCE: 2.5 min
BBox eval pycocotools: 4 hours
BBox eval FCE: 2 min
pip install fast-coco-eval
If you clone the repo and install it locally, the following command is recommended
pip install -e .
given that you are in the fast-coco-eval directory. There seem to be an issue with loading the C++ extensions when installing it from the root directory without the -e flag.
This package contains a faster implementation of the
pycocotools COCOEval
class.
Due to torch being used to compile and access the C++ code, it needs to be imported before using the package.
To import and use COCOeval_fast
type:
import torch
from fast_coco_eval import COCOeval_fast
For usage, look at the original COCOEval
class documentation.
It would be nice to decouple it from the pytorch build tool for the c++ compilation.
Distributed under the apache version 2.0 license, see license for more information. © 2021 Sartorius AG
FAQs
Unknown package
We found that fast-coco-eval demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.