技术栈

mmdetection3.1.0 bug(已解决)

struggle_success2024-04-29 2:40

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 dimensions. The detected shape was (102,) + inhomogeneous part.

解决方法:np.array(all_ious)改为np.array(all_ious,dtype="object")

链接地址:https://stackoverflow.com/questions/67183501/setting-an-array-element-with-a-sequence-requested-array-has-an-inhomogeneous-sh

上一篇:企业工厂如何逆风翻盘:VR全景打破多重桎梏
下一篇:七、OSPF特殊区域及其特性
相关推荐
封奚泽优
5 个月前
使用mmdetection项目进行训练记录
pytorch·python·cuda·mmdetection·mmcv
木棉知行者
8 个月前
【第2篇】RuntimeError: nms_impl: implementation for device cuda:0 not found.
人工智能·深度学习·bug·mmdetection
何如千泷
1 年前
【BUG】mmdetection ValueError: need at least one array to concatenate
bug·mmdetection
成龙的龙
2 年前
〖open-mmlab: MMDetection〗解析文件:configs/_base_/schedules
mmdetection
答案是你
2 年前
使用mmdetection遇到的一些问题总结
人工智能·python·计算机视觉·mmdetection
热门推荐
01如何新建文件夹? 电脑新建文件夹的4种方法02GitHub 镜像站点03国内可直接用、免费额度/永久免费的大模型API清单(含 SiliconFlow、火山、阿里、智谱、百度、Kimi、DeepSeek、DMXAPI 等)04AI 编程 IDE 全景解析 2026:Agent 全面接管开发链路052026 国产 AI 大模型横评:DeepSeek、通义千问、Kimi、文心一言、星火、豆包谁更能打?06微信历史版本含下载地址( Windows PC | 安卓 | MAC )及设置微信不更新07Agnes AI 免费 API 接入指南:文本、生图、生视频,一套接口全免费082026年7月AI圈大地震:GPT-5.6被政府限制、Claude入驻Slack、Anthropic自研芯片09历年考研数学一、数学二、数学三真题试卷及答案PDF1000 Debian字符界面如何支持中文