Skip to content

Commit fea4edb

Browse files
author
Anna Grebneva
authored
Fixed mask_rcnn adapter in case of using detection_out (#2989)
1 parent 481d816 commit fea4edb

File tree

1 file changed

+3
-1
lines changed
  • tools/accuracy_checker/openvino/tools/accuracy_checker/adapters

1 file changed

+3
-1
lines changed

tools/accuracy_checker/openvino/tools/accuracy_checker/adapters/mask_rcnn.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ def select_output_blob(self, outputs):
115115
if self.raw_masks_out:
116116
self.raw_masks_out = self.check_output_name(self.raw_masks_out, outputs)
117117
if hasattr(self, 'detection_out'):
118-
self.detection_out = self.check_output_name(self.raw_masks_out, outputs)
118+
self.detection_out = self.check_output_name(self.detection_out, outputs)
119+
self.outputs_verified = True
120+
return
119121
if self.classes_out:
120122
self.classes_out = self.check_output_name(self.classes_out, outputs)
121123
if self.scores_out:

0 commit comments

Comments
 (0)