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

Inference code for lanegraph2seq seems wrong #6

Closed
ZJWang9928 opened this issue Mar 25, 2024 · 3 comments
Closed

Inference code for lanegraph2seq seems wrong #6

ZJWang9928 opened this issue Mar 25, 2024 · 3 comments

Comments

@ZJWang9928
Copy link

ZJWang9928 commented Mar 25, 2024

Hi! I found that the test/inference code in RoadNetwork/rntr/ar_lanegraph2seq.py is the same with the test/inference code in RoadNetwork/rntr/ar_rntr.py, which is for RNTR instead of Lanegraph2Seq.
Would you please update the test/inference code for Lanegraph2Seq? Thank you so much!

@VictorLlu
Copy link
Collaborator

I'm currently addressing the dataloader timing issue. If necessary, I can prioritize adding the inference code within the next few days.

@ZJWang9928
Copy link
Author

@VictorLlu
Thank you for your update and reply.
Can you please also add the code for performance evaluation recently?
BTW, when running the training code, I print time for data preprocessing (time1), forward propagation (time2) and back propagation (time3) in mmengine/model/wrappers/distributed.py when training with 8 GPUs. It seems that the major cause for the long average batch time is the extremely slow back propagation in some iterations.
image
You can refer to #3 for details. I hope this can to some extent help you.

@VictorLlu
Copy link
Collaborator

Thank you for your contribution. I've implemented the inference code for AR-RNTR first. You can utilize test.py, or it will automatically perform an evaluation after every 50 epochs.

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

No branches or pull requests

2 participants