ultralytics 8.1.4 RTDETR TensorBoard graph visualization fix (#7725)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
6535bcde2b
commit
7a0c27c7d7
8 changed files with 65 additions and 26 deletions
|
|
@ -220,7 +220,7 @@ def non_max_suppression(
|
|||
|
||||
# Settings
|
||||
# min_wh = 2 # (pixels) minimum box width and height
|
||||
time_limit = 0.5 + max_time_img * bs # seconds to quit after
|
||||
time_limit = 2.0 + max_time_img * bs # seconds to quit after
|
||||
multi_label &= nc > 1 # multiple labels per box (adds 0.5ms/img)
|
||||
|
||||
prediction = prediction.transpose(-1, -2) # shape(1,84,6300) to shape(1,6300,84)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue