docstr: refer to https://github.com/ilovepose/DarkPose/lib/core/inference.py
docstr_tok: ["refer","to","https",":","\/\/github.com\/ilovepose\/DarkPose\/lib\/core\/inference.py"]
code: def dark_postprocess(self, hm, coords, kernelsize):
      """
      refer to https://github.com/ilovepose/DarkPose/lib/core/inference.py
  
      """
      hm = self.gaussian_blur(hm, kernelsize)
      hm = np.maximum(hm, 1e-10)
      hm = np.log(hm)
      for n in range(coords.shape[0]):
          for p in range(coords.shape[1]):
              coords[n, p] = self.dark_parse(hm[n][p], coords[n][p])
      return coords
  
imports: from scipy.optimize import linear_sum_assignment
  from collections import abc, defaultdict
  import cv2
  import numpy
  import math
  import paddle
  import paddle.nn
  from keypoint_preprocess import get_affine_mat_kernel, get_affine_transform
label_desc: Use image node_id 6 for calling the HRNetPostProcess obj's underlying member method code with example usage: obj.dark_postprocess(hm, coords, kernelsize) and returns: coords