oskarastrom commited on
Commit
54a00fb
·
1 Parent(s): 93b9874

Update inference.py

Browse files
Files changed (1) hide show
  1. inference.py +0 -2
inference.py CHANGED
@@ -59,8 +59,6 @@ def do_full_inference(dataloader, image_meter_width, image_meter_height, gp=None
59
  # Detect boxes in frames
60
  inference, image_shapes, width, height = do_detection(dataloader, model, device, gp=gp)
61
 
62
- inference = filter_detection_size(inference, image_meter_width, width, 1.5)
63
-
64
  if config.associative_tracker == TrackerType.BYTETRACK:
65
 
66
  # Find low confidence detections
 
59
  # Detect boxes in frames
60
  inference, image_shapes, width, height = do_detection(dataloader, model, device, gp=gp)
61
 
 
 
62
  if config.associative_tracker == TrackerType.BYTETRACK:
63
 
64
  # Find low confidence detections