COCO目标检测评测出现TypeError: ‘numpy.float64‘ object cannot be interpreted as an integer
【代码】COCO目标检测评测出现TypeError: ‘numpy.float64‘ object cannot be interpreted as an integer。
·
在coco数据集评测,出现如下问题:
![]()
原因是numpy版本过高,前版本的numpy(1.21)不支持使用浮点数作为步长,需要降低numpy版本:
pip install numpy==1.17
重新安装即可
更多推荐


所有评论(0)