code: def __init__(
      self, model: nn.Module, metrics: Sequence[Metric] = None
  ):
      super().__init__(metrics=metrics)
      self.model = model
  
imports: from icevision.imports import *
  from icevision.utils import *
  from icevision.metrics import *
  from icevision.engines.lightning.lightning_model_adapter import LightningModelAdapter
  from icevision.models.torchvision.loss_fn import loss_fn
  from icevision.core.record_components import InstanceMasksRecordComponent, BBoxesRecordComponent
  from icevision.core.mask import MaskArray
  from icevision.core.bbox import BBox
label_desc: Use image node_id 1 to create a new RCNNModelAdapter object from inherited base classes: LightningModelAdapter, ABC with example: obj = RCNNModelAdapter(model, metrics)