IoU Loss
IoU (Intersection over Union)
IoU란?
- object detecter의 정확도를 측정하는데 이용되는 평가 지표
- IoU = overlapping region / combined region

- 두 box의 크기가 동일하다고 가정한 경우, 두 box가 적어도 2/3이 겹쳐야 IoU=0.5가 되기 때문에 threshold값을 0.5로 잡아서 사용함
- 필요한 두가지
- ground-truth bounding boxes(testing set에서 object 위치를 labeling 한것)
- prediceted bounding boxes (model이 출력한 object 위치 예측값)

왜 Intersection over Union을 사용할까?
- 머신러닝 classification : True/False로만 구분하기 때문에 predicted class가 맞는지 틀린지만 확인한다.
- Object Detection : predicted bounding box가 실제 ground-truth bounding box와 정확히 일치하기에는 어려움.
–> 따라서 얼마나 일치하는지를 측정하기 위함