code: def create_manifest(
      manifest_path, index_list, annot_dir, image_dir, root_dir
  ):
      records = [("@FILE", "FILE")]
  
      for tag in index_list:
          image = os.path.join(image_dir, tag + ".png")
          annot = os.path.join(annot_dir, tag + ".json")
  
          assert os.path.exists(image), "Path {} not found".format(
              image
          )
          assert os.path.exists(annot), "Path {} not found".format(
              annot
          )
  
          records.append(
              (
                  os.path.relpath(image, root_dir),
                  os.path.relpath(annot, root_dir),
              )
          )
  
      print("Writing manifest file to: {}".format(manifest_path))
      np.savetxt(manifest_path, records, fmt="%s\t%s")
  
file_path: neon/examples/faster-rcnn/ingest_kitti.py
imports: from __future__ import print_function
  import os
  import glob
  import json
  import numpy
  from PIL import Image
  from zipfile import ZipFile
  import math
  from neon.util.persist import ensure_dirs_exist
  from tqdm import tqdm
label_desc: Use image node_id 3 for calling a global function with example usage: create_manifest(manifest_path, index_list, annot_dir, image_dir, root_dir) without return types