code: def read_template_media_list(path):
      # ijb_meta = np.loadtxt(path, dtype=str)
      ijb_meta = pd.read_csv(path, sep=" ", header=None).values
      templates = ijb_meta[:, 1].astype(np.int)
      medias = ijb_meta[:, 2].astype(np.int)
      return templates, medias
  
imports: import os
  import pickle
  import matplotlib
  import pandas
  import matplotlib.pyplot
  import timeit
  import sklearn
  import argparse
  import cv2
  import numpy
  import torch
  from skimage import transform
  from backbones import get_model
  from sklearn.metrics import roc_curve, auc
  from menpo.visualize.viewmatplotlib import sample_colours_from_colourmap
  from prettytable import PrettyTable
  from pathlib import Path
  import sys
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: read_template_media_list(path) and returns: templates,  medias