mousecpn/Boosting-R-CNN

Questions

justin-fun opened this issue · 8 comments

Test visualisation of underwater target detection dataset does not yield corresponding results

Thanks for the reminder.
I will upload the vis code in a week.

Test visualisation of underwater target detection dataset does not yield corresponding results

I have renewed the visualization code.

I use test to report UnboundLocalError: local variable 'gt_bboxes' referenced before assignment When I add 'global gt_bboxes' and then an error is reported.

I use test to report UnboundLocalError: local variable 'gt_bboxes' referenced before assignment When I add 'global gt_bboxes' and then an error is reported.

you should change the test_pipeline in config.
In 'collect', add 'gt_bboxes' and 'gt_labels' as below.
image

I use test to report UnboundLocalError: local variable 'gt_bboxes' referenced before assignment When I add 'global gt_bboxes' and then an error is reported.

you should change the test_pipeline in config. In 'collect', add 'gt_bboxes' and 'gt_labels' as below. image

When I tested it, I got this error
image

Yup, this would happen. Because in the testpipeline, the mmdet will delete the 'gt_bboxes' augment. So you need to find the place where the testpipeline detele 'gt_bboxes'. However, I can't tell you where is the place because I don't remember. You have to count on yourself. Good luck!