Skip to content
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

Dual and primal loss don't align for small blur values #58

Open
ericdunipace opened this issue Apr 1, 2022 · 1 comment
Open

Dual and primal loss don't align for small blur values #58

ericdunipace opened this issue Apr 1, 2022 · 1 comment

Comments

@ericdunipace
Copy link

ericdunipace commented Apr 1, 2022

Hello,

First, let me say thank you for such a great program. I have found GeomLoss to be very helpful in my research.

Second, I noticed a discrepancy between the dual and primal losses for small values of the blur parameter when I was attempting to use the solutions to GeomLoss to perform some barycentric projections. I've attached some sample code that should replicate the observation. I also tried some smaller scaling values and get the same problem.

Thanks for any help you can provide!

geomloss_transport_matrix.py.zip

software

MacOSX 11.6
GeomLoss version 0.2.4
Python 3.8

@ericdunipace
Copy link
Author

As an update, I tried this again with GeomLoss v 0.2.5 and get the same values as the python file above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant