Sticker-Sjh
Results
2
comments of
Sticker-Sjh
测试问题在作者大大的帮助下,解决了这个问题,在mmdet/apis/test.py文件中把img = imshow_det_bboxes_water()整个注释掉,然后把下面的img = imshow_det_bboxes()取消注释就好了,再一次感谢作者
> > > 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. > > > >...