-
Notifications
You must be signed in to change notification settings - Fork 45
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
Computation question #1
Comments
@neverfelly On the current master branch, it has been fixed. |
Thanks for your great contribution to the contextual loss package. |
CoBi is still under developing because of the OOM during L2 distance computation. The intrinsic solution is to avoid the OOM but I don't have any idea for memory-efficient computation now. |
Origin paper mention that CX(X, X) = 1 while CX(X,Y) = 1/N if X is far from Y.
So contextual loss is zero when two images are equal and large when two images are dissimilarity.
I found that your code which computes equation (1) uses 1 - CX and I'm confused with this and its result.
I wish your help, thanks.
The text was updated successfully, but these errors were encountered: