code: def colorize(img, heatmap):
      """img: bgr, [0,255]
      heatmap: [0,1]
      """
      heatmap = viz.intensity_to_rgb(heatmap, cmap="jet")[:, :, ::-1]
      return img * 0.5 + heatmap * 0.5
  
file_path: tensorpack/examples/CaffeModels/load-cpm.py
imports: import argparse
  import numpy
  import cv2
  import tensorflow
  from tensorpack import *
  from tensorpack.utils import viz
  from tensorpack.utils.argtools import memoized
label_desc: Use image node_id 1 for calling a global function with example usage: colorize(img, heatmap) and returns: unknown