def detect_batch(self, batch):
        """
        Return detections for batch
        :param batch:
        :return:
        """
        self.mod.forward(batch, is_train=False)
        detections = self.mod.get_outputs()[0]
        positive_detections = Detector.filter_positive_detections(detections)
        return positive_detections
def detect_batch ( self , batch ) : self . mod . forward ( batch , is_train = False ) detections = self . mod . get_outputs ( ) [ 0 ] positive_detections = Detector . filter_positive_detections ( detections ) return positive_detections
Return detections for batch
        :param batch:
        :return: