ZJULearning/resa

A question about the "num_classes" in configs/tusimple.py line 87

Closed this issue · 1 comments

This work is very nice! And I have one question to consult.
As far as I know, the tusimple dataset have five lanes at most. But, the "num_classes" is seted to "6+1" in configs/tusimple.py line 87 . Could you tell me how to set the value?
Thank you!

Thank you.
We pre-define the class in tusimple dataset, i.e., LEFT 3, 2, 1, RIGHT 3,2,1. Yes, the tusimple dataset have five lanes at most.
Five lanes cases are: some images have LEFT 3, 2, 1, RIGHT 2, 1, but some have LEFT 2,1, RIGHT 3,2,1. RIGHT 3 and LEFT 3 are not the same class.
Thus, the number of classes is 7, one is the background class.