code: def before_batch(self):
      assert (
          len(self.xb) == len(self.yb) == 1
      ), "Only works for single input-output"
      self.learn.xb = self.xb[0]
      self.learn.records = self.yb[0]
      self.learn.yb = ()
  
imports: from icevision.models.ross import efficientdet
  from icevision.engines.fastai import *
label_desc: Use image node_id 1 for calling the EfficientDetCallback obj's underlying member method code with example usage: obj.before_batch() without return types