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://www.toymoban.com/news/detail-861476.html
链接地址:https://stackoverflow.com/questions/67183501/setting-an-array-element-with-a-sequence-requested-array-has-an-inhomogeneous-sh文章来源地址https://www.toymoban.com/news/detail-861476.html
到了这里,关于mmdetection3.1.0 bug(已解决)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!