Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Make clear if mlmodel has NMS (#917)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavla authored Jul 27, 2018
1 parent 0588dca commit dd9cebf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1554,6 +1554,8 @@ def export_coreml(self, filename,
confidenceThresholdString = ('(optional)' +
' Confidence Threshold override (default: {})')
model_type = 'object detector (%s)' % self.model
if include_non_maximum_suppression:
model_type += ' with non-maximum suppression'
model.description.metadata.shortDescription = \
_coreml_utils._mlmodel_short_description(model_type)
model.description.input[0].shortDescription = 'Input image'
Expand Down

0 comments on commit dd9cebf

Please sign in to comment.