diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-12-27 19:25:29 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-12-27 19:26:01 +0000 |
commit | 34aa8fda5b84d0ff3cbc2f194e32fcc91a86c560 (patch) | |
tree | fdb4e1a76bcefc7314823c5b3fbec0c373aee433 | |
parent | 0a3e0579c99d0404e920e219b13379bcd9df583b (diff) |
misc/py-mmdet: New port: OpenMMLab: Detection Toolbox and Benchmark
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/py-mmdet/Makefile | 32 | ||||
-rw-r--r-- | misc/py-mmdet/distinfo | 3 | ||||
-rw-r--r-- | misc/py-mmdet/pkg-descr | 7 |
4 files changed, 43 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 1bae4f8dc863..17a8da2b3138 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -435,6 +435,7 @@ SUBDIR += py-log_symbols SUBDIR += py-mffpy SUBDIR += py-mmcv + SUBDIR += py-mmdet SUBDIR += py-mmengine SUBDIR += py-molequeue SUBDIR += py-mxnet diff --git a/misc/py-mmdet/Makefile b/misc/py-mmdet/Makefile new file mode 100644 index 000000000000..8ec5d1219e19 --- /dev/null +++ b/misc/py-mmdet/Makefile @@ -0,0 +1,32 @@ +PORTNAME= mmdet +#DISTVERSIONPREFIX= v +DISTVERSION= 3.2.0 +CATEGORIES= misc # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= OpenMMLab: Detection Toolbox and Benchmark +WWW= https://mmdetection.readthedocs.io/en/latest/ + +LICENSE= APACHE20 + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytorch>0:misc/py-pytorch@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}pycocotools>0:devel/py-pycocotools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}shapely>0:devel/py-shapely@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}terminaltables>0:textproc/py-terminaltables@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist # pytest: many test dependencies are missing + +#USE_GITHUB= yes +#GH_ACCOUNT= open-mmlab + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/misc/py-mmdet/distinfo b/misc/py-mmdet/distinfo new file mode 100644 index 000000000000..7ea001bc14b1 --- /dev/null +++ b/misc/py-mmdet/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1703704237 +SHA256 (mmdet-3.2.0.tar.gz) = f71481d240cbba8bc6d91f3a195a6517b7559c491c334e57e9888cf99377db3d +SIZE (mmdet-3.2.0.tar.gz) = 1177812 diff --git a/misc/py-mmdet/pkg-descr b/misc/py-mmdet/pkg-descr new file mode 100644 index 000000000000..83e7b88a3803 --- /dev/null +++ b/misc/py-mmdet/pkg-descr @@ -0,0 +1,7 @@ +MMDetection is an open source object detection toolbox based on PyTorch. +It is a part of the OpenMMLab project. + +Major features: +* Modular Design +* Support of multiple tasks out of box +* High efficiency |