misc/py-faster-coco-eval: New port: Faster interpretation of the original COCOEval for computer vision
This commit is contained in:
@@ -499,6 +499,7 @@
|
||||
SUBDIR += py-facenet-pytorch
|
||||
SUBDIR += py-fal-client
|
||||
SUBDIR += py-fast-histogram
|
||||
SUBDIR += py-faster-coco-eval
|
||||
SUBDIR += py-fastmcp
|
||||
SUBDIR += py-fastmcp-slim
|
||||
SUBDIR += py-fastscapelib
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
PORTNAME= faster-coco-eval
|
||||
PORTVERSION= 1.7.2
|
||||
CATEGORIES= misc python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= faster_coco_eval-${PORTVERSION}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Faster interpretation of the original COCOEval for computer vision
|
||||
WWW= https://github.com/MiXaiLL76/faster_coco_eval
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pybind11>=2.12.0:devel/py-pybind11@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=2.0.0:math/py-numpy@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= pep517 cython concurrent autoplist
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's/^license = "\([^"]*\)"/license = {text = "\1"}/' \
|
||||
-e '/^license-files/d' \
|
||||
-e 's/pybind11>=2.12.0, <3/pybind11>=2.12.0/' \
|
||||
${WRKSRC}/pyproject.toml
|
||||
@${REINPLACE_CMD} -e '/data_files=/d' ${WRKSRC}/setup.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1783090784
|
||||
SHA256 (faster_coco_eval-1.7.2.tar.gz) = 7f06cad6d60a4624c1e4a479b2d612be3e98565fc0dd4c8b41dabd5bdfe45557
|
||||
SIZE (faster_coco_eval-1.7.2.tar.gz) = 103791
|
||||
@@ -0,0 +1,4 @@
|
||||
Faster COCO Eval provides a faster implementation of the original
|
||||
COCO evaluation metrics for object detection. It accelerates the
|
||||
computation of precision, recall, and mean Average Precision (mAP)
|
||||
metrics used in the COCO object detection benchmark.
|
||||
Reference in New Issue
Block a user