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
Even though I got the optimal transport matrix as match in the code, I still couldn't figure out how to compute the cost from match. To go through the cuda code is tough for me, so could you kindly help me with this?
Thank you very much for your help.
The text was updated successfully, but these errors were encountered:
Hello! Thanks for open-sourcing this amazing work. Here I got a question about the EMD loss.
My intention is to understand the exact way of the computation for the EMD loss. So I changed this line:
pcrnet_pytorch/pcrnet/losses/cuda/emd_torch/pkg/layer/emd_loss_layer.py
Line 12 in fad0886
to this:
return cost, match
In order to get the optimal transport matrix. Then see how to compute the cost from match.
Following:
Even though I got the optimal transport matrix as
match
in the code, I still couldn't figure out how to compute thecost
frommatch
. To go through the cuda code is tough for me, so could you kindly help me with this?Thank you very much for your help.
The text was updated successfully, but these errors were encountered: