技术栈

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特殊区域及其特性
相关推荐
封奚泽优
3 天前
使用mmdetection项目进行训练记录
pytorch·python·cuda·mmdetection·mmcv
木棉知行者
3 个月前
【第2篇】RuntimeError: nms_impl: implementation for device cuda:0 not found.
人工智能·深度学习·bug·mmdetection
何如千泷
10 个月前
【BUG】mmdetection ValueError: need at least one array to concatenate
bug·mmdetection
成龙的龙
1 年前
〖open-mmlab: MMDetection〗解析文件:configs/_base_/schedules
mmdetection
答案是你
2 年前
使用mmdetection遇到的一些问题总结
人工智能·python·计算机视觉·mmdetection
热门推荐
01GitHub 镜像站点02【OpenClaw 本地实战 Ep.3】突破瓶颈:强制修改 openclaw.json 解锁 32k 上下文记忆03OpenClaw 使用和管理 MCP 完全指南04OpenClaw + 飞书(Feishu)环境搭建指南05Clawdbot部署教程:解决‘gateway token missing’授权问题的完整步骤06Window 10部署openclaw报错node.exe : npm error code 12807Claude Code + GLM4.7 避坑指南:解决 Unable to connect to Anthropic services08AI 规范驱动开发“三剑客”深度对比:Spec-Kit、Kiro 与 OpenSpec 实战指南09OpenClaw优化飞书API 额度已耗尽问题10AI Agent 平台横评:ZeroClaw vs OpenClaw vs Nanobot