def METHOD_NAME(self):
    if self.training:
        self._preprocess()
    body_feats = self.backbone(self.inputs)
    neck_feats = self.neck(body_feats, self.for_mot)
    if self.training:
        yolox_losses = self.head(neck_feats, self.inputs)
        yolox_losses.update({'size': self._input_size[0]})
        return yolox_losses
    else:
        head_outs = self.head(neck_feats)
        bbox, bbox_num = self.head.post_process(
            head_outs, self.inputs['im_shape'],
            self.inputs['scale_factor'])
        return {'bbox': bbox, 'bbox_num': bbox_num}