code: def save_image(image_path, label, color_map=None):
      h, w = label.shape
      vis = np.zeros((h, w, 3), dtype=np.int32)
      if color_map is None:
          color_map = get_color()
      for y in range(h):
          for x in range(w):
              vis[y][x] = color_map[int(label[y][x])]
  
      vis = vis / (np.amax(vis))
      imsave(image_path, vis)
  
file_path: nnabla/python/src/nnabla/models/semantic_segmentation/utils.py
imports: import numpy
  from nnabla.models.semantic_segmentation import image_preprocess
  from nnabla.utils.image_utils import imsave, imresize
label_desc: Use image node_id 4 for calling a global function with example usage: save_image(image_path, label, color_map) without return types