mmdetection2.17可视化:pr曲线、FPS Benchmark、anchor、各类loss/mAP、Yolo的anchor

文章目录[隐藏]

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

我还没有学会写个人说明!

暂无评论

发表评论

相关推荐

mmdetection特征图可视化

mmdetection对特征图进行可视化 思路:在前向传播时将四个stage的特征图返回出来(更简单的方法在我下一篇博客,欢迎阅读) 1.two_stage.py修改 我修改的地方都