How to i print Intersection Of Union while training

Hi, I’m trying to use yolov4 with pytorch, I am using that with this code (link on below)

I want to see IoU(Intersection of Union) while training.How can i print that ?

Thanks in advance