mousecpn / Boosting-R-CNN

[Neurocomputing 2023] The official implementation of Boosting R-CNN: Reweighting R-CNN Samples by RPN's Error for Underwater Object Detection
MIT License
30 stars 1 forks source link

Questions #6

Open justin-fun opened 1 year ago

justin-fun commented 1 year ago

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

mousecpn commented 1 year ago

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

mousecpn commented 1 year ago

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

I have renewed the visualization code.

fadaishaitaiyang commented 1 year ago

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.

mousecpn commented 1 year ago

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
1716932646 commented 1 year ago

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

mousecpn commented 1 year ago

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!

Sticker-Sjh commented 3 months ago

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 commented 3 months ago

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