pytorch-auto-drive icon indicating copy to clipboard operation
pytorch-auto-drive copied to clipboard

Question about the existence of lanes in tusimple and culane dataset

Open solidexu opened this issue 2 years ago • 6 comments

The original dataset just supplies the coordinates of lane points. I wonder how we can determine which lane exists. I currently focus on another dataset which just have lane points info. Maybe I should relabel the existence info by myself or is there an another method to quickly identify the which lane existence and add the info into the train.txt?

solidexu avatar Mar 12 '22 12:03 solidexu

@solidexu Existing datasets use line slope to determine existence. Note that existence is only needed for multi-class segmentation approaches (their seg label is also generated based on slope), the original script is cpp in https://github.com/XingangPan/seg_label_generate . You can refer to #40 for more discussions (Python scripts and such).

voldemortX avatar Mar 12 '22 12:03 voldemortX

Thank you ~ I just found the C++ script from XingangPan. Using slope to determine the existence of lane is definitely a genius idea. But I am not sure if it works well with CurveLanes Dataset. Anyway, I will try it. Thanks again!

solidexu avatar Mar 12 '22 12:03 solidexu

But I am not sure if it works well with CurveLanes Dataset.

We also have problem doing this for CurveLanes, please share to us if you have a solution for this kind of dataset.

voldemortX avatar Mar 12 '22 14:03 voldemortX

@voldemortX Hi, you mean we don't use lane existence label in train.txt (e.g. 1111) except segmentation-based model? :0

daeunni avatar Aug 29 '23 08:08 daeunni

@voldemortX Hi, you mean we don't use lane existence label in train.txt (e.g. 1111) except segmentation-based model? :0

Yes. It is only meant for semantic segmentation.

voldemortX avatar Aug 29 '23 09:08 voldemortX

Thank you ~ I just found the C++ script from XingangPan. Using slope to determine the existence of lane is definitely a genius idea. But I am not sure if it works well with CurveLanes Dataset. Anyway, I will try it. Thanks again! @solidexu Hi,Does it work on the Curvelanes dataset?

Albertchamberlain avatar Oct 08 '23 02:10 Albertchamberlain