-
Notifications
You must be signed in to change notification settings - Fork 887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some thoughts on training Lanenet with CUlane dataset #183
Comments
@zguo008 The reason why jpg is not suitable may be that the actual pix value of jpg image may be modified during generating process(JPEG and PNG have different compress method). You may check if the jpg label's value is correct:) |
Thanks for the reply:) |
@CHYangzzz @zacario-li 's answer makes sense for me. Low accuracy is because the model cannot detect some lanes, mainly due to the binary branch.You can have a try:) |
@zacario-li @zguo008 Thanks for your advice |
|
For me, the loss becomes nan unless I reshape the Culane images to 720x1280. Do the dimensions matter for training with lanenet? |
@zguo008 |
@zacario-li |
@zacario-li , @zguo008, @CHYangzzz :
|
|
@zguo008 Is there any way that someone would share a dataset or the ckpt files with me, and I have had many problems trying to train with my data, and if someone already has it with a greater amount of data, happy to receive it. Thanks |
为什么使用tusimple数据训练完成后,使用自己的数据进行测试时,效果特别差呢,这个原因是什么可以说说吗各位 |
大佬 ,我想问下tusimple_ipm_remap.yml这个是不是将当前帧整个图片转成鸟瞰图?如果是的话,那应用到自动驾驶中的话,是否需要实时更新这个yml里的参数? |
你好,兄弟,计算Accuracy,FP,FN的源码,可以和我分享下吗?不胜感激![email protected] |
Hi everyone,
I have been trying to train Lanenet with Culane dataset for the past 2 weeks. I wanna share a little of my thoughts on the results.
Firstly, to kick start the training, CUlane dataset should be somehow modified
Failing to modify the dataset will result in unpredictability in training process(say the training stops halfway or even cannot start).
To finetune the model, I had some try on decreasing the learning rate. 0.0005 is the original learning rate. 0.0004/0.00045 is some proper learning rate for model to converge in a reasonably short period. I have tried to low it down to 0.0003/0.0002, the model converges way too slow! It may take days to converge. The accuracy of the val set converges to 60% or so in my few tries. Below is my training summary:
Firstly I thought. oh well, the model may stuck at a local minimum so I increase the momentum from 0.9 to 0.95. The result is roughly the same.
Then I realize that it has nothing to do with local minimum kinda stuff. I looked through Culane dataset, the reason of the low accuracy(correct me if im wrong) is that Lanenet cannot perform well on occlusion or other harsh road condition. In some pictures all lanes are totally occluded by cars but in the ground truth the lane label is still there. Thats why the message passing module in SCNN can be effective. And that maybe the reason why there is a very variance in binary loss in above tensorboard summary cuz sometimes the model cannot predict there is a lane.
In summary, lanenet doesnt perform as well as SCNN for CUlane dataset even though it can converge.
Please correct me if I am wrong anywhere above(since I am just a student loll, dont judge me haha). Also if you have some idea 1.why the accuracy cannot increase above 60% or so 2. binary loss has a high variance please comment below.
Thanks the author the the great work and instant reply, thanks @cardwing and @PenghuahuaPeng for the contribution as well.
Best regards,
ZX(Nicolas)
The text was updated successfully, but these errors were encountered: