文章目录[隐藏]
anchor可视化
- 在目录:mmdet\models\dense_heads\anchor_head就可以可视化anchor,插入位置为: anchor_list, valid_flag_list = self.get_anchors(featmap_sizes, img_metas, device=device) 和label_channels = self.cls_out_channels if self.use_sigmoid_cls else 1 之间,插入的代码具体如下:
random_n = 1
img_shape = img_metas[0]['pad_shape']
imgh,imgw = img_shape[:
版权声明:本文为CSDN博主「@会飞的毛毛虫」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/qq_42308217/article/details/121011230
暂无评论