code: def load_culane_data(data_dir, file_list_path):
      with open(file_list_path, "r") as file_list:
          filepaths = [
              os.path.join(
                  data_dir,
                  line[1 if line[0] == "/" else 0 :]
                  .rstrip()
                  .replace(".jpg", ".lines.txt"),
              )
              for line in file_list.readlines()
          ]
  
      data = []
      for path in filepaths:
          img_data = load_culane_img_data(path)
          data.append(img_data)
  
      return data
  
imports: import os
  import cv2
  import numpy
  import os.path
  from functools import partial
  from .metrics import Metric
  from scipy.interpolate import splprep, splev
  from scipy.optimize import linear_sum_assignment
  from shapely.geometry import LineString, Polygon
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 7 for calling a global function with example usage: load_culane_data(data_dir, file_list_path) and returns: data