I'm training my own datasets using Yolov4 from Alexeyab but i got a multiple bounding boxes like this image below.
I googled and searched about NMS(non-maximum suppression) but all i can find is how to write a code in pytorch or tf.... i'm new to object detection so i have no idea how to implement this. All i wanted to do is just making only one bounding box for one class.
Please help me. Thank you.

I think NMS is ez to code, you could see explain in here. This codes below I see in fast-rcnn for every class.