在调用linespace函数时,也是在COCO数据集的调用时出现了问题
可以看到出现了如下的错误提示信息
Traceback (most recent call last):
File "/home/zmd/software/anaconda3/lib/python3.7/site-packages/numpy/core/function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'numpy.float64' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "coco_validation.py", line 49