code: def get_filepaths(data_path, split):
      """Get the list of filepaths for a given split (train, val, or test)."""
      with open(
          os.path.join(
              data_path,
              f"mnt/ramdisk/max/90kDICT32px/annotation_{split}.txt",
          ),
          "r",
      ) as text_file:
          filepaths = [
              os.path.join(
                  data_path,
                  "mnt/ramdisk/max/90kDICT32px",
                  line.split(" ")[0][2:],
              )
              for line in text_file.readlines()
          ]
      return filepaths
  
file_path: keras-ocr/scripts/train_recognizer_synthtext90_multigpu.py
imports: import datetime
  import argparse
  import math
  import random
  import string
  import functools
  import itertools
  import os
  import tarfile
  import urllib.request
  import numpy
  import cv2
  import imgaug
  import tqdm
  import tensorflow
  import keras_ocr
label_desc: Use image node_id 1 for calling a global function with example usage: get_filepaths(data_path, split) and returns: filepaths