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

Draw the model predicted trajectory #24

Open
Alex-fishred opened this issue May 1, 2023 · 2 comments
Open

Draw the model predicted trajectory #24

Alex-fishred opened this issue May 1, 2023 · 2 comments

Comments

@Alex-fishred
Copy link

Can I know the position (pixel) of the model predicted object on the image?
my request:
I want to plot the trajectory predicted by the model

I found that the model outputs only Bayesian probabilities

Is there any chance of it happening?

@Cogito2012
Copy link
Owner

@Alex-fishred Good question!
We actually use the detected objects to perform the accident probabilities. For your request, you may need to find out which object contributes most to the probabilistic decision. However, since we use a static graph in GCN to aggregate the object features (graph edge not learned), the graph edge still cannot reveal the learned contribution of each node/object.

As a simple way to work around it, you may compute the gradient norm of the object feature (or GCN node feature) as the importance score. The position of the object with the highest score should be what you want :)

@Alex-fishred
Copy link
Author

you mean
gradient norm
Equivalent to showing where the model is currently focused?
For example, I have targets that are 5 meters and 10 meters away from the camera
Will the gradient norm obtained at 5 meters be larger than that obtained at 10 meters?

if i'm right
Can you tell me how to implement compute the gradient norm of the object feature (or GCN node feature)

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