code: def __init__(self, loss_factor=1.0):
      super(HeatMapLoss, self).__init__()
      self.loss_factor = loss_factor
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from itertools import cycle, islice
  from collections import abc
  import numpy
  import paddle
  import paddle.nn
  from ppdet.core.workspace import register, serializable
label_desc: Use image node_id 1 to create a new HeatMapLoss object from inherited base classes: object with example: obj = HeatMapLoss(loss_factor)