calc4ap-1.0.1


توضیحات

Easy AP Calculator with Python
ویژگی مقدار
سیستم عامل -
نام فایل calc4ap-1.0.1
نام calc4ap
نسخه کتابخانه 1.0.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده devbruce
ایمیل نویسنده bruce93k@gmail.com
آدرس صفحه اصلی https://github.com/DevBruce/calc4ap
آدرس اینترنتی https://pypi.org/project/calc4ap/
مجوز MIT
# calc4ap > Pascal VOC (<http://host.robots.ox.ac.uk/pascal/VOC/>) <br><br> ## Install via PyPI ```bash $ pip install calc4ap ``` <br><br> ## How to Use ```python from calc4ap.voc import CalcVOCmAP # (some codes ...) voc_ap = CalcVOCmAP(labels=labels, preds=preds, iou_thr=0.5, conf_thr=0.0) ap_summary = voc_ap.get_summary() car_AP = ap_summary['car'] mAP = ap_summary['mAP'] ``` ### `CalcVOCmAP` Args - `preds`: (list): list of `[left, top, right, bottom, confidence, class_name, image_id]` - `labels`: (list): list of `[left, top, right, bottom, class_name, image_id]` - `iou_thr`: (float): IoU Threshold (Default: 0.5) - `conf_thr`: (float): Confidence Threshold (Default: 0.0)


زبان مورد نیاز

مقدار نام
>=3.6.5 Python


نحوه نصب


نصب پکیج whl calc4ap-1.0.1:

    pip install calc4ap-1.0.1.whl


نصب پکیج tar.gz calc4ap-1.0.1:

    pip install calc4ap-1.0.1.tar.gz