code: def set_loss_weights(self, loss_weight_dict):
      for k, _ in self.losses.items():
          if k in loss_weight_dict:
              w = loss_weight_dict[k]
          else:
              w = 1.0
          self.loss_weights[k] = w
  
label_desc: Use image node_id 4 for calling the LossTracker obj's underlying member method code with example usage: obj.set_loss_weights(loss_weight_dict) without return types