code: def __init__(self, loss_names):
      if "total_loss" not in loss_names:
          loss_names.append("total_loss")
      self.losses = {key: 0 for key in loss_names}
      self.loss_weights = {key: 1 for key in loss_names}
  
label_desc: Use image node_id 1 to create a new LossTracker object  with example: obj = LossTracker(loss_names)