You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Thanks for the great deepdive!
Btw, Could I ask you two questions:
The first 4955 output of supercombo's onnx model contains 5 lane plans, but what is the sequence of it? FYI, I've tried to follow this REFERENCE, but the sequence of the output seems to be a bit off, could you help to CMIIW?
Is the way to get best lane lines similar to the demo.py file? FYI, I've tried to reproduce it, but It seems that in the demo.py, the pred_trajectory seems to already have xyz separated before output, and you also have put "sinh" and "exp" in here.
What I tried to get the xyz (cmiiw again):
Get the first 4955 output, and reshape it into 5x991.
Try to separate the hypothesis probs. I've learned from the ref. above that the last shape should be 2x33x15 (990). If I take the last value, I get a very high score (43.xx). So, I guess it should be the last one (cmiiw), then put softmax on it.
The cls/hypothesis probs size: 5x1 (HP), the other values (B) will be reshape to 5x2x33x5x3.
Get the highest HP's output (HL). (argmax, out size will be 1)
Filter B with HL # the out size will be 2x33x5x3
Takes the second output (since it will be the current lane, cmiiw). the out size will be 33x5x3.
Takes the xyz position out of 5 outputs, the out size will be 33x3.
Hi, Thanks for the great deepdive!
Btw, Could I ask you two questions:
What I tried to get the xyz (cmiiw again):
https://github.com/OpenDriveLab/Openpilot-Deepdive/blob/main/demo.py#L86
https://github.com/OpenDriveLab/Openpilot-Deepdive/blob/main/utils.py#L151-L157
The text was updated successfully, but these errors were encountered: