OpenDriveLab / LaneSegNet

[ICLR 2024] Map Learning with Lane Segment for Autonomous Driving
Apache License 2.0
262 stars 28 forks source link

question about gt centerline? #4

Closed TmacTmac1992 closed 9 months ago

TmacTmac1992 commented 9 months ago

Hi, I noticed the centerline gt was generated by left_lane and right_lane in "LaneSegmentParameterized3D", what is the difference between original gt centerline and the re-generated centerline?

centerline = (left_line + right_line) / 2.0

sephyli commented 9 months ago

When comparing the original GT centerline to the re-generated one without interpolation, they appear to be identical.

However, if we interpolate the left_line and right_line to increase the number of points, there may be a slight difference between the original GT centerline and the re-generated one. Furthermore, it's worth noting that this process is significantly faster than the actual interpolation itself.

TmacTmac1992 commented 9 months ago

Thanks for your answer!