Criterial for Object Detection Models¶
Provide base classes that define what is an adversarial for object detection models.
Defines adversarials as images for which the target class is not in the detection result.
Initialize self. See help(type(self)) for accurate signature.
is_adversarial(self, predictions, annotation)¶
Decides if predictions for an image are adversarial.
Return ctiterion name.
Return target class.