code: def __init__(self, container):
      self.container = container
  
imports: import torch
  from .utils import th_matrixcorr
  from .meters.averagemeter import AverageMeter
  from .callbacks import Callback
  from .losses import lovaszloss, hingeloss, dice_coeff
label_desc: Use image node_id 1 to create a new MetricCallback object from inherited base classes: Callback with example: obj = MetricCallback(container)