class_docstr: CenterTrack network, see http://arxiv.org/abs/2004.01177
  
  Args:
      detector (object): 'CenterNet' instance
      plugin_head (object): 'CenterTrackHead' instance
      tracker (object): 'CenterTracker' instance
class_docstr_tok: ["CenterTrack","network",",","see","http",":","\/\/arxiv.org\/abs\/2004.01177","Args",":","detector","(","object",")",":","'CenterNet","'","instance","plugin_head","(","object",")",":","'CenterTrackHead","'","instance","tracker","(","object",")",":","'CenterTracker","'","instance"]
code: def get_additional_inputs(self, dets, meta, with_hm=True):
      # Render input heatmap from previous trackings.
      trans_input = meta["trans_input"][0].numpy()
      inp_width, inp_height = int(meta["inp_width"][0]), int(
          meta["inp_height"][0]
      )
      input_hm = np.zeros((1, inp_height, inp_width), dtype=np.float32)
  
      for det in dets:
          if det["score"] < self.tracker.pre_thresh:
              continue
          bbox = affine_transform_bbox(
              det["bbox"], trans_input, inp_width, inp_height
          )
          h, w = bbox[3] - bbox[1], bbox[2] - bbox[0]
          if h > 0 and w > 0:
              radius = gaussian_radius(
                  (math.ceil(h), math.ceil(w)), min_overlap=0.7
              )
              radius = max(0, int(radius))
              ct = np.array(
                  [(bbox[0] + bbox[2]) / 2, (bbox[1] + bbox[3]) / 2],
                  dtype=np.float32,
              )
              ct_int = ct.astype(np.int32)
              if with_hm:
                  input_hm[0] = draw_umich_gaussian(
                      input_hm[0], ct_int, radius
                  )
      if with_hm:
          input_hm = input_hm[np.newaxis]
      return input_hm
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import math
  import numpy
  import paddle
  from ppdet.core.workspace import register, create
  from .meta_arch import BaseArch
  from ..keypoint_utils import affine_transform
  from ppdet.data.transform.op_helper import gaussian_radius, gaussian2D, draw_umich_gaussian
label_desc: Use image node_id 7 for calling the CenterTrack obj's underlying member method code with example usage: obj.get_additional_inputs(dets, meta, with_hm) and returns: input_hm