code: def after_pred(self):
      if not self.training:
          inference_out, training_out = self.pred[0], self.pred[1]
          self.learn.pred = training_out
          batch = (*self.learn.xb, *self.learn.yb)
          preds = yolov5.convert_raw_predictions(
              batch=batch,
              raw_preds=inference_out,
              records=self.learn.records,
              detection_threshold=0.001,
              nms_iou_threshold=0.6,
          )
          self.learn.converted_preds = preds
  
imports: from icevision.engines.fastai import *
  from icevision.models.ultralytics import yolov5
label_desc: Use image node_id 2 for calling the Yolov5Callback obj's underlying member method code with example usage: obj.after_pred() without return types