calc4ap
Pascal VOC (http://host.robots.ox.ac.uk/pascal/VOC/)
Install via PyPI
$ pip install calc4ap
How to Use
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)
Metadata
Release files for calc4ap 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| calc4ap-1.0.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| calc4ap-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / calc4ap-1.0.1.tar.gz
| Download URL | calc4ap-1.0.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fca3ec521aadc7a7f6fcd1844be265d4b0c696cceb48103355ad01c26dbe5e2e
|
|
BLAKE2b-256 checksum How to use checksums |
bb169d2d2e82195301fecb3073312118f16803662c8df5ddb8d7a4ef1a2ad794
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|
Release files / calc4ap-1.0.1-py3-none-any.whl
| Download URL | calc4ap-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83e689295f6277b0098054aa96a29e0aafb9725f06d070c30e4395eb4a6768c6
|
|
BLAKE2b-256 checksum How to use checksums |
91ce09b532165e0d8f82d5695fde493463e8c54ca539c6f662a5fe6557b2c488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|