Exploring the use of bezier curves for lane detection —— A baseline model.
演示视频和博客地址:https://mo-vic.github.io/2021/02/21/BezierLaneNet/
Download CULane dataset here.
- install PyTorch;
- run the following command:
pip3 install -r requirements.txt
Command-line arguments to reproduce the result:
python3 train.py --data ./CULane --log_name baseline --pretrained_weight ./weights/resnet18-5c106cde.pth --input_size 820 295 --gpu_ids 0
Note: make sure that you've downloaded the weight for ResNet18 pre-trained on ImageNet.
Run the following command:
python3 inference.py --data ./CULane --ckpt [Path to the model checkpoint file] --input_size 820 295 --gpu_ids 0 --save_name "./video/output.avi"
- Use Focal loss;
- Adaptive weighting according to the curvature;
- Data resampling;
- ......
- Training on Video Data;
- Use Consistent Loss;
- ......
And Let Me Know If You Have Any Progress in These Directions!!!