-
Notifications
You must be signed in to change notification settings - Fork 7
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
Linear assignment layer training #6
Comments
As Similarly, we add And we think that the linear assignment layer is non-learning and does not need to be trained. It is considered as a differentiable version of the Hungarian algorithm. We use GNN to evaluate the cost between nodes and use the linear assignment layer to do assignment based on the cost. Hope that helps :) |
Could you please further explain the meaning of : And how this matrix influence the final output action? Thank you very much! |
Similarly, This code may help you understand better.
|
Hi, thanks so much for open sourcing this solid work! I try to understand how the linear assignment layer is trained and would appreciate your help.
In the class
AttentionalGNN
, the linear assignment score is computed and processed as this:Could you please explain a bit more about this code? I am not pretty sure how to interpret
invalid.float()
,unreachable.float()
and numbers used here (e.g., 40, 20, 15).Also I try to use such a differentiable linear assignment layer in my work, where I do the bipartite matching to match the same robots across different frames (t0 <-> t1, t1 <-> t2, t2 <-> t3, ...) to get matching traces, and use a discriminator to evaluate the overall quality of the traces and get a loss. Overall it is more like a GAN structure. How should I use this loss to update the linear assignment layer? Thanks!
The text was updated successfully, but these errors were encountered: