The present disclosure relates to a method and apparatus for generating a lane polyline by using a neural network model. The method according to an embodiment may extract a multi-scale image feature by using a base image obtained from at least one sensor loaded in a vehicle. According to the…