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

data process #26

Open
zhaolongtong opened this issue Nov 5, 2024 · 2 comments
Open

data process #26

zhaolongtong opened this issue Nov 5, 2024 · 2 comments

Comments

@zhaolongtong
Copy link

zhaolongtong commented Nov 5, 2024

Why are the candidate trajectories processed like this?
Figure_5

The reason is that the recent blocks are filtered incorrectly, as shown in the figure below. The upper left image is the nearest block to the vehicle, the upper right image is the Bezier curve generated from the vehicle position to the nearest block, the lower left image is the filtered paths , and the lower right image is the final Scene visualization.
Figure_5_5

@Hailan-9
Copy link

Hello brother, may I ask if you can successfully train this DTPP code? I couldn't train successfully on my end, and the error I reported was a problem with reverse differentiation, loss. backward(). I debugged it and found that it was in the scenario_tree_prediction. py file with enw_decode=self. microenvironment_decoder (query, encoding, encoding, env-mask)
And ego_cndition_decoding=self. ego_dedition_decoder (query, At the locations of ego_traj_decoding, ego_traj_decoding, and ego_cndition_mask, the solved decoding has a value of 'nan'. May I ask if yours is also like this. My environment configuration should be consistent with what is written in DTPP's readme. If it's convenient to reply, could you please reply to my email [email protected] .
Thank you, brother. Looking forward to hearing from you!

@Hailan-9
Copy link

Hello brother, may I ask if you can successfully train this DTPP code? I couldn't train successfully on my end, and the error I reported was a problem with reverse differentiation, loss. backward(). I debugged it and found that it was in the scenario_tree_prediction. py file with enw_decode=self. microenvironment_decoder (query, encoding, encoding, env-mask) And ego_cndition_decoding=self. ego_dedition_decoder (query, At the locations of ego_traj_decoding, ego_traj_decoding, and ego_cndition_mask, the solved decoding has a value of 'nan'. May I ask if yours is also like this. My environment configuration should be consistent with what is written in DTPP's readme. If it's convenient to reply, could you please reply to my email [email protected] . Thank you, brother. Looking forward to hearing from you!

The problem has been resolved. I mistakenly converted the passed atte_mask type to boolean type, which should be tensor.float type.

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