Boosting-R-CNN icon indicating copy to clipboard operation
Boosting-R-CNN copied to clipboard

Questions

Open justin-fun opened this issue 2 years ago • 8 comments

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

justin-fun avatar Feb 05 '23 01:02 justin-fun

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

mousecpn avatar Feb 06 '23 11:02 mousecpn

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

I have renewed the visualization code.

mousecpn avatar Feb 13 '23 02:02 mousecpn

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.

fadaishaitaiyang avatar Feb 20 '23 02:02 fadaishaitaiyang

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

mousecpn avatar Feb 20 '23 20:02 mousecpn

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

1716932646 avatar Jun 26 '23 12:06 1716932646

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!

mousecpn avatar Jun 26 '23 12:06 mousecpn

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

你好,你找到解决办法了吗

Sticker-Sjh avatar Jul 12 '24 09:07 Sticker-Sjh

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

你好,你找到解决办法了吗

你在验证的时候,使用--eval bbox

1716932646 avatar Jul 12 '24 09:07 1716932646