How to get rid of lane extensions

Hi,

Is there a way to get rid of lane extensions in laneNet ?

As seen from the image, the detection is happening beyond the white line. The red dots are the pixel points reported by LaneNet model. And some of these points are way outside the actual white lane.

Is there any way we can have only the lane detection with no extensions ?