cfzd / Ultra-Fast-Lane-Detection

Ultra Fast Structure-aware Deep Lane Detection (ECCV 2020)
MIT License
1.81k stars 492 forks source link

Where do you predict category on Culane dataset? #336

Closed zillur-av closed 1 year ago

zillur-av commented 1 year ago

I see you can predict on lane location using the following line and some post processing. But in Culane dataset, beside location, you predict on 9 categories too. Where is the network output code for that.?

https://github.com/cfzd/Ultra-Fast-Lane-Detection/blob/353df107756b8c03c22c27201e33fc63d84ecfe6/model/model.py#L90

cfzd commented 1 year ago

@zillur-av We don't predict the category. CULane provides the list files of each category, so we can test on each category.

zillur-av commented 1 year ago

Ok. So, if I understand correctly, you tack an image, let's say night category, and if the model can detect lanes on that image, you say it is detecting night category, something like that.

cfzd commented 1 year ago

@zillur-av Yes. CULane provides a list file containing all the images in the night category. We read all the images in the list, and eval on these images. The evaled results are the result of this category. It is the same for other categories like shadow, dazzle, etc.