open-mmlab / mmdetection

OpenMMLab Detection Toolbox and Benchmark
https://mmdetection.readthedocs.io
Apache License 2.0
29.1k stars 9.38k forks source link

How to get the test result of the classification score and iou score of the boxes in test.py #10892

Open zengziru opened 1 year ago

zengziru commented 1 year ago

Now that I have a trained model and want to test its performance on the test set, so I'm going to use test.py. And I want the classification score and iou score of all the boxes to be stored in the pkl file. However, the existing operation seems to store only the coordinates of the box and the confidence score, not the iou score. Could you please tell me how to implement this function?

hhaAndroid commented 1 year ago

@zengziru If you want to implement this requirement, you will need to modify the source code.

ZhouChen-start commented 1 year ago

@zengziru If you want to implement this requirement, you will need to modify the source code.

Hello, I would like to use a trained model for inference now. Do I need to write an inference script or use test. py? However, the images inferred using test. py will be concatenated with ground truth. How can I modify them if I don't want to concatenate ground truth?