Skip to content

the results of coco evaluate of sahi and test.py of mmdetection are different? #639

Answered by fcakyon
SleepyFanz asked this question in Q&A
Discussion options

You must be logged in to vote

That is normal as test.py and sahi predict outputs are different (bounding box integer casting, postprocessing functions and parameters etc)

Can you tell me what is your postprocessing parameters in test.py from mmdet? (iou and conf thresholds)

You should use NMS as postprocess_type in SAHI by adding --postprocess_type NMS into the sahi predict command.

You should also lower the confidence threshold. Its 0.01 by default in mmdet but 0.25 in sahi . Add --model_confidence_threshold 0.01 into the sahi predict command.

Replies: 8 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@imadgohar
Comment options

@fcakyon
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by fcakyon
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #590 on September 30, 2022 18:39.