code: def update(self, inputs, outputs):
      assert len(inputs["img_name"]) == len(outputs["lanes"])
      self.predictions.extend(outputs["lanes"])
      self.img_names.extend(inputs["img_name"])
      self.lanes.extend(inputs["lane_line"])
  
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 5 for calling the CULaneMetric obj's underlying member method code with example usage: obj.update(inputs, outputs) without return types