code: def get_vis_nir_info(test_fold_id):
      vis = pd.read_csv(
          os.path.join(
              test_list_dir, "vis_gallery_%d.txt" % test_fold_id
          ),
          header=None,
          sep=" ",
      )
      vis_labels = [int(s.split("\\")[-2]) for s in vis[0]]
      vis = vis[0].apply(lambda s: rename_path(s)).tolist()
  
      nir = pd.read_csv(
          os.path.join(
              test_list_dir, "nir_probe_%d.txt" % test_fold_id
          ),
          header=None,
          sep=" ",
      )
      nir_labels = [int(s.split("\\")[-2]) for s in nir[0]]
      nir = nir[0].apply(lambda s: rename_path(s)).tolist()
  
      vis = [(p, l) for (p, l) in zip(vis, vis_labels)]
      nir = [(p, l) for (p, l) in zip(nir, nir_labels)]
  
      return vis, nir
  
file_path: insightface/recognition/idmmd/evaluate/eval_casia_112.py
imports: import numpy
  import pandas
  import os, sys
  import argparse
  from PIL import Image
  import torch
  from network.lightcnn112 import LightCNN_29Layers
  from evaluate import evaluate2
label_desc: Use image node_id 2 for calling a global function with example usage: get_vis_nir_info(test_fold_id) and returns: vis,  nir