-
Notifications
You must be signed in to change notification settings - Fork 46
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
Loss definition: from the paper to the implementation #14
Comments
+1 I have the same question! |
Oh actually it looks like #3 talks about this. Is it right @meng-tang that the loss is: Or did I miss something? |
Yes, it corresponds to the formula. Sorry for inconsistent notations. A or w denotes the affinity matrix. S or X means the segmentation variable. AS is the result of the product of affinity matrix and segmentation. Note that for dense CRF, we don't explicitly save A in our implementation. However, one can compute AS efficiently with fast Bilateral filtering. |
Hello,
First I would like to say that I really enjoyed your work. Congrats!
I have a simple question regarding the denseCRF loss. I do not understand how your implementation works. Why is it a simple dot product? I am probably missing what
AS
is in your code.rloss/pytorch/pytorch-deeplab_v3_plus/DenseCRFLoss.py
Line 34 in 1caa759
Thanks a lot,
Reuben
The text was updated successfully, but these errors were encountered: