This is a tool for clustering bounding boxes and using IOU and Jaccard distance 1 - IOU
as the distance calculation.
gohurali/generate_anchorBoxes_kmeans
Optimal generalized anchor box generator with K-Means clustering for anchor box based object detection
Jupyter Notebook