How to get rid of lane extensions

Hi,

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

https://drive.google.com/file/d/12JYMUd3php2XfH9NYw6QQu6HISqv5qUc/view?usp=sharing

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 ?