今天在跑ssd模型代码时还是用的coco格式数据集又遇到了numpy不支持float方法的问题, 改成float64解决(实在不想降numpy版本)。特此记录一下:
tp_sum = np.cumsum(tps, axis=1).astype(dtype=np.float64)
fp_sum = np.cumsum(fps, axis=1).astype(dtype=np.float64)
回头把具体报错信息补上。。。
今天在跑ssd模型代码时还是用的coco格式数据集又遇到了numpy不支持float方法的问题, 改成float64解决(实在不想降numpy版本)。特此记录一下:
tp_sum = np.cumsum(tps, axis=1).astype(dtype=np.float64)
fp_sum = np.cumsum(fps, axis=1).astype(dtype=np.float64)
回头把具体报错信息补上。。。