while detections[0,i,j,0] >= 0.5: IndexError: index 200 is out of bounds for dimension 2 with size 200
索引超出了。检查数组长度。