mmdetection

2024/10/4 13:32:52

mmdetection3.1.0 bug(已解决)

mmdetection版本3.1.0 想这训练rpn网络,但是训练后val的时候出现了问题,根据Traceback,找到bug。 报错信息:ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dim…

【零基础保姆级教程】MMDetection3训练输出Precision/Recall/F1-Score指标

最近为了跑对比试验,MMDetection这一框架整合的算法较多,故博主训练它并留下记录,若有疑问等欢迎评论、指正。 基本信息:博主在完成训练流程后,保留了整个过程的权重文件在worke_dirs/路径下,名称epoch_1.…

mmdetection3.1.0 bug(已解决)

mmdetection版本3.1.0 想这训练rpn网络,但是训练后val的时候出现了问题,根据Traceback,找到bug。 报错信息:ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dim…

【mmdetection安装】在线安装和离线安装

mmdetection安装 安装版本在线安装版离线安装版参考 记录mmdetection安装过程,网络环境好久就选择在线安装,记录离线安装是因为超算网络环境太恶劣… 安装版本 版本python3.10pytorch2.1.0(cuda11.8)mmcv2.1.0mmdetectiongit下载…

AttributeError: ‘SSDHead‘ object has no attribute ‘loss_cls‘

进入 mmdetection/mmdet/models/dense_heads/base_dense_head.py 修改前 if getattr(self.loss_cls, custom_cls_channels, False):scores self.loss_cls.get_activation(cls_score) elif self.use_sigmoid_cls:scores cls_score.sigmoid() else:# remind that we set FG lab…

〖open-mmlab: MMDetection〗解析文件:mmdet/models/roi_heads/bbox_heads/bbox_head.py

目录 深入解析MMDetection中的BBoxHead类及其方法1. BBoxHead类概述1.1 类定义和初始化1.2 构建预测器1.3 前向传播 2. get_targets方法3. loss_and_target方法4. predict_by_feat方法5. 总结 深入解析MMDetection中的BBoxHead类及其方法 在目标检测任务中,边界框头…

mmdetection3.1.0 bug(已解决)

mmdetection版本3.1.0 想这训练rpn网络,但是训练后val的时候出现了问题,根据Traceback,找到bug。 报错信息:ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dim…

【MMdetection】2.自定义数据训练

1.废话 因为MMdetection里面提供了非常多的模型和配置文件供我们选择,这样做对比实验非常方便。 在标准数据集上训练预定义的模型 — MMDetection 3.3.0 文档 官方文档在此。 openMMlab提供了各种经典网络和配置文件系统使得MMdetection的上手难度有一点,不熟悉官方常规操…

mmdetection3.1.0 bug(已解决)

mmdetection版本3.1.0 想这训练rpn网络,但是训练后val的时候出现了问题,根据Traceback,找到bug。 报错信息:ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dim…

Pytorch中的torch.save()文件保存格式探索以及mmdetection加载预训练模型参数对不齐和收到意外参数报错解决方案

使用mmdetection时遇到的问题比较多,首先要对自己要使用的预训练模型有一定的了解,并且懂得使用各种分类模型时不同的模型不同任务执行阶段需要参数上的对其。(比如mask-rcnn和它的三个头之间的参数)。 首先,谈谈torc…

mmdetection3.1.0 bug(已解决)

mmdetection版本3.1.0 想这训练rpn网络,但是训练后val的时候出现了问题,根据Traceback,找到bug。 报错信息:ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dim…