8000 Refactor DiscreteSurfaces (part 1) by luisfpereira · Pull Request #1958 · geomstats/geomstats · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Refactor DiscreteSurfaces (part 1) #1958

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

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

luisfpereira
Copy link
Collaborator

This PR refactors DiscreteSurfaces, in particular the operations that are required to compute path energy (i.e. all the methods inner product calls).

Vectorization is fully fixed. Performance is hugely increased. Correctness of inner product computation was verified against original code (https://github.com//emmanuel-hartman/H2_SurfaceMatch).

Next steps consist on improving exp and log solvers. #1957 already starts this (for the log). (NB: this PR does not address them at all, meaning they're still slow.)

Copy link
codecov bot commented Feb 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c705fce) 91.63% compared to head (0fe220a) 85.55%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1958      +/-   ##
==========================================
- Coverage   91.63%   85.55%   -6.08%     
==========================================
  Files         150      140      -10     
  Lines       13599    13351     -248     
==========================================
- Hits        12460    11421    -1039     
- Misses       1139     1930     +791     
Flag Coverage Δ
autograd ?
numpy ?
pytorch 85.55% <100.00%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@luisfpereira luisfpereira merged commit 0995647 into geomstats:main Feb 15, 2024
@luisfpereira luisfpereira deleted the discrete-surfaces branch February 15, 2024 09:09
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

Successfully merging this pull request may close these issues.

1 participant
0