Explorar el Código

Increase NMS time limit to 50 ms/img (#7956)

modifyDataloader
Glenn Jocher GitHub hace 2 años
padre
commit
b5ebd47d64
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      utils/general.py

+ 1
- 1
utils/general.py Ver fichero

@@ -795,7 +795,7 @@ def non_max_suppression(prediction,
# min_wh = 2 # (pixels) minimum box width and height
max_wh = 7680 # (pixels) maximum box width and height
max_nms = 30000 # maximum number of boxes into torchvision.ops.nms()
time_limit = 0.1 + 0.03 * bs # seconds to quit after
time_limit = 0.1 + 0.05 * bs # seconds to quit after
redundant = True # require redundant detections
multi_label &= nc > 1 # multiple labels per box (adds 0.5ms/img)
merge = False # use merge-NMS

Cargando…
Cancelar
Guardar