code: def line_accuracy(pred, gt, thresh):
      pred = np.array([p if p >= 0 else -100 for p in pred])
      gt = np.array([g if g >= 0 else -100 for g in gt])
      return np.sum(
          np.where(np.abs(pred - gt) < thresh, 1.0, 0.0)
      ) / len(gt)
  
file_path: PaddleHub/modules/image/semantic_segmentation/bisenet_lane_segmentation/lane_processor/lane.py
imports: import json
  import numpy
  from sklearn.linear_model import LinearRegression
label_desc: Use image node_id 2 for calling the LaneEval obj's underlying member method code with example usage: obj.line_accuracy(pred, gt, thresh) and returns: unknown