code: def _read_names(file_name):
      label_names = []
      for name in open(file_name, "r"):
          name = name.strip()
          if len(name) > 0:
              label_names.append(name)
      return label_names
  
file_path: insightface/parsing/dml_csr/utils/miou.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import cv2
  import json
  import numpy
  import os
  from collections import OrderedDict
  from PIL import Image
  from utils.transforms import transform_parsing
label_desc: Use image node_id 4 for calling a global function with example usage: _read_names(file_name) and returns: label_names