Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MULTI-CLASS OUTPUT #732

Closed
glenn-jocher opened this issue Dec 20, 2019 · 2 comments
Closed

MULTI-CLASS OUTPUT #732

glenn-jocher opened this issue Dec 20, 2019 · 2 comments
Labels
enhancement New feature or request Stale Stale and schedule for closing soon

Comments

@glenn-jocher
Copy link
Member

🚀 Feature

Multi-class output is now enabled in this repo. This issue serves to track before and after mAPs on COOC using this feature along with different NMS techniques #679.

def non_max_suppression(prediction, conf_thres=0.5, nms_thres=0.5, multi_cls=True, method='vision'):

The test code is below, run on P100 colab instance. Results will be updated as they become available.

python3 test.py --weights ultralytics68.pt --nms-thr 0.6 --img-size 608 --device 0
Speed
mm:ss
COCO mAP
@0.5...0.95
COCO mAP
@0.5
'vision' nms 5:27 40.3 60.4
'vision' nms + multi_cls 10:47 40.9 61.5
'merge' nms 18:41 40.7 60.7
'merge' nms + multi_cls 15:15 41.4 61.7
@glenn-jocher glenn-jocher added the enhancement New feature or request label Dec 20, 2019
@glenn-jocher
Copy link
Member Author

glenn-jocher commented Dec 21, 2019

Same at 0.55 and 0.70 for max mAP.

python3 test.py --weights ultralytics68.pt --conf 0.001 --data coco2014.data --img-size 608 --nms 0.70
Speed
mm:ss
COCO mAP
@0.5...0.95
COCO mAP
@0.5
'vision' nms 0.55 + multi_cls 8:25 40.8 61.6
'merge' nms 0.55 + multi_cls 21:59 41.2 61.9
'vision' nms 0.70 + multi_cls 7:58 41.1 60.9
'merge' nms 0.70 + multi_cls 19:26 41.6 61.1

@github-actions
Copy link

github-actions bot commented Mar 6, 2020

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale Stale and schedule for closing soon label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Stale Stale and schedule for closing soon
Projects
None yet
Development

No branches or pull requests

1 participant