Skip to content
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

【Hackathon + No.161】论文复现:CLRNet: Cross Layer Refinement Network for Lane Detection #8143

Closed
wants to merge 51 commits into from

Conversation

khan-yin
Copy link
Contributor

training

implement environment:

  • PaddlePaddle2.4.0
  • V100*2

you need to change batch_size in configs/clrnet/_base_/clrnet_reader.yml when you use multiple GPUs

TrainReader:
  batch_size: 48 # 24 for one single GPU if use mutil GPUs please change it to 24*GPU_NUM

script:

export CUDA_VISIBLE_DEVICES=0,1
python -m paddle.distributed.launch --gpus 0,1 tools/train.py -c configs/clrnet/clr_resnet18_culane.yml

evaluation

script:

python tools/eval.py -c configs/clrnet/clr_resnet18_culane.yml -o weights=output/clr_resnet18_culane/model_final.pdparams output_eval=evaluation/ use_gpu=true

weights&logs

download link code
BaiduDisk fz71
.
|-- culane_r18.pth # torch pretrain model
|-- culane_r18.pdparams # export from torch by modified torch2paddle.py for CLRNet 
|-- model_final.pdparams # training model
|-- paddle_eval.log # use model_final.pdparams
|-- paddle_pretraineval.log # use culane_r18.pdparams
|-- paddle_training.log # use model_final.pdparams
|-- torch2paddle.py
`-- torch_eval.log # use torch pretrain model
backbone mF1 F1@50 F1@75 weights
ResNet-18 55.39 79.56 62.83 model_final.pdparams
ResNet-18 55.57 79.58 62.79 culane_r18.pdparams
ResNet-18 55.32 79.58 62.55 culane_r18.pth

nemonameless and others added 30 commits February 10, 2023 16:58
* update pphuman ppvechicle new models, test=document_fixb

* update docs, test=document_fixb

* update docs, test=document_fix

* fix configs, test=document_fix
* fix distill codes and docs

* fix slim distill docs

* fix docs

* add details of docs, test=document_fix
* update release 2.6 doc, test=document_fix

* update release/2.6 doc, test=document_fix
* update pipeline docs; vehicle illegal;rtsp;jetson

* update docs

* bold text
* fix smalldet docs, test=document_fix

* fix smalldet configs and readme, test=document_fix
* pose3d docs

* traindata download
* ppvehicle add customized docs, test=document_fix

* fix pipeline readme.md test=document_fix

* fix pipeline readme.md link test=document_fix

* add licensed to lane_to_mask.py

* ppvehicle_violation.md add args list test=document_fix
* fix run_benchmark for small model accurate speed

* fix run_benchmark for other det models
…le#7816)

* keypoint petr (PaddlePaddle#7774)

* petr train ok

train ok

refix augsize

affine size fix

update msdeformable

fix flip/affine

fix clip

add resize area

add distortion

debug mode

fix pos_inds

update edge joints

update word mistake

* delete extra codes;adapt transformer modify;update code format

* reverse old transformer modify

* integrate datasets

* add config and architecture for human36m (PaddlePaddle#7802)

* add config and architecture for human36m

* modify TinyPose3DHRNet to support human3.6M dataset

* delete useless class

---------

Co-authored-by: XYZ <1290573099@qq.com>
* metro con reverse

tinypose3d fix

readme modelzoo

* fix tinypose3d
@paddle-bot
Copy link

paddle-bot bot commented Apr 24, 2023

Thanks for your contribution!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这些.github的不用提交

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果与clrnet无关的不用提交

Copy link
Collaborator

@LokeZhou LokeZhou Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

给一下训练、推理、评估的命令。还有数据集准备、下载链接

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

确认是否需要pretrain_weights

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

与clrnet无关的无需提交

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

__init__里面的backbone等给默认值

Copy link
Collaborator

@LokeZhou LokeZhou Apr 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update最新develop

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同上

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

预训练模型需要确认一下

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
7 out of 8 committers have signed the CLA.

✅ chunyuwei
✅ jerrywgz
✅ nemonameless
✅ ghostxsl
✅ zhiboniu
✅ LokeZhou
✅ thinkthinking
❌ kehanyin


kehanyin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants