ValueError: attempt to get argmax of an empty sequence 错误处理
在faster rcnn内进行随机裁剪数据增强,训练一段时间后报错:
gt_argmax_overlaps = overlaps.argmax(axis=0) ValueError: attempt to get argmax of an empty sequence
参考博客http://blog.csdn.net/jiajunlee/article/details/50470897 知原因是裁剪的图像或目标宽高比太小导致,更改裁剪策略或重新设置宽高比。