class_docstr: 2D Cross Entropy Loss with Auxilary Loss
class_docstr_tok: ["2D","Cross","Entropy","Loss","with","Auxilary","Loss"]
code: def __init__(self, parent, summary_writer):
      super(Losses, self).__init__()
      self.bone_idx = np.array(
          [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 15, 16]
      )
      self.parent = parent
      self.summary_writer = summary_writer
      self.train_cnt = 0
  
file_path: insightface/body/human_pose/ambiguity_aware/lib/core/loss.py
imports: import torch
  from torch.nn import functional
  import numpy
  import torch.nn
  import math
label_desc: Use image node_id 1 to create a new Losses object from inherited base classes: nn with example: obj = Losses(parent, summary_writer)