Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dbolya/yolact
/ optimize_bboxes.py
File
optimize_bboxes.py
scripts/optimize_bboxes.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Instead of clustering bbox widths and heights, this script
3
directly optimizes average IoU across the training set given
4
the specified number of anchor boxes.
Callers
nothing calls this directly
Calls
4
optimize
Function · 0.85
print_out
Function · 0.85
pretty_str
Function · 0.85
to_relative
Function · 0.70
Tested by
no test coverage detected