code: def after_pred(self):
      if not self.training:
          with torch.no_grad():
              preds = convert_raw_predictions(
                  batch=(*self.learn.xb, *self.learn.yb),
                  raw_preds=self.pred,
                  records=self.learn.records,
              )
              self.learn.converted_preds = preds
  
file_path: icevision/icevision/models/fastai/unet/fastai.py
imports: from icevision.imports import *
  from icevision.engines.fastai import *
  from icevision.models.fastai.unet.prediction import convert_raw_predictions
label_desc: Use image node_id 2 for calling the UnetCallback obj's underlying member method code with example usage: obj.after_pred() without return types