Mismatch against another EMD library
See original GitHub issueExcuse my poor understanding towards EMD. I test geomloss with the following code:
points1 = torch.rand(2, 1024, 2, requires_grad=True).cuda()
points2 = torch.rand(2, 1024, 2).cuda()
emd_sinkhorn = geomloss.SamplesLoss(loss='sinkhorn', p=2, blur=0.01, backend='auto')(points1, points2)
Also, I try to use another EMD library (https://github.com/Colin97/MSN-Point-Cloud-Completion/tree/master/emd) which uses auction algorithm:
emd-auction, assignment = emd(points1, points2, eps=0.05, iters=2000)
However, two experiments give different results. How can I change the usage of geomloss to match another one? Thanks for your help very much!
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
std::mismatch - cppreference.com
Returns the first mismatching pair of elements from two ranges: one defined by [first1, last1) and another defined by [first2, last2) .
Read more >Mismatch discrimination and sequence bias during end ...
Further, in the context of nick ligation, ligases discriminate more stringently against mismatches at the 3′-hydroxyl side of the ligation ...
Read more >Dealing with library version mismatch
In David Jud's comment, he describes a pretty simple solution : if the library is not at the expected version, the application just...
Read more >Mismatch Detected for 'RuntimeLibrary' - c++ - Stack Overflow
Consider for example that the above two pieces of code are called A and B . A is compiled against one version of...
Read more >Mismatch-CRISPRi reveals the co-varying expression-fitness ...
Using libraries of mismatched sgRNAs predicted to span the full range ... To directly quantify the impact of mismatches on the repression of ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works when I use the following code:
😃 You are welcome. This setting let you use entropic regularized (debias=False) EMD (p=1) loss, which is in accordant with the description in the library you mentioned.