harryhan618 / LaneNet

Pytorch implementation of "Towards end-to-end lane detection: an instance segmentation approach"
166 stars 42 forks source link

I want to ask, why didn't you use regularization loss on discriminative loss? #18

Open maftuhm opened 4 years ago

maftuhm commented 4 years ago

I saw in the second paper it was said that there are three components to discriminatory loss: variance, distance, and regulization loss. and you define reg_loss in your code. but you did not use it because you said it was not used in the original paper. So the loss function you use is the loss from the first paper and the loss from the second paper, exclude reg_loss. why?

loss function you used: loss = a seg_loss + b var_loss + c * dist_loss

why not: loss = a seg_loss + b var_loss + c dist_loss + d reg_loss

harryhan618 commented 4 years ago

Hello @maftuhm , If you read carefully in the LaneNet paper, you would find that reg_loss is not used.