code: def before_batch(self):
      self.learn.records = self.yb[0]
      self.learn.yb = self.xb
  
file_path: icevision/icevision/models/mmdet/fastai/callbacks.py
imports: from icevision.imports import *
  from icevision.engines.fastai import *
  from icevision.models.mmdet.utils import *
  from icevision.models.mmdet.common.bbox.prediction import convert_raw_predictions
label_desc: Use image node_id 2 for calling the MMDetectionCallback obj's underlying member method code with example usage: obj.before_batch() without return types