Skip to content

Commit 81db5ec

Browse files
committed
Eliminate extra filtering
1 parent 1fb39bc commit 81db5ec

File tree

1 file changed

+1
-2
lines changed
  • model_api/python/model_api/models

1 file changed

+1
-2
lines changed

model_api/python/model_api/models/ssd.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,7 @@ def _get_output_parser(
7575
self.raise_error("Unsupported model outputs")
7676

7777
def _parse_outputs(self, outputs):
78-
detections = self.output_parser(outputs)
79-
return [d for d in detections if d.score > self.confidence_threshold]
78+
return self.output_parser(outputs)
8079

8180

8281
def find_layer_by_name(name, layers):

0 commit comments

Comments
 (0)