moscot
moscot copied to clipboard
Add Sparse Geodesic Cost Support
Here are the steps I planned. I first want to ensure the tests work with this version and I am currently on that step.
- [x] make sure it works on the new commit of ottjax (here: https://github.com/ott-jax/ott/commit/51a658aaa026528a3b9702e3d25c8f7af598cef0)
- [x] don't densify sparse arrays for geodesic costs
- [x] adjust and add tests
In order to comply to new version:
- [x] created new solution files because loaded objects in test_regression_testing had corrupted format.
- [x] https://github.com/theislab/moscot/issues/678
- [x] https://github.com/ott-jax/ott/issues/509
- [x] https://github.com/theislab/moscot/pull/686
- [x] https://github.com/theislab/moscot/pull/688 (already included in this PR) ping: @MUCDK , @giovp
- [ ] https://github.com/ott-jax/ott/issues/519
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 78.19%. Comparing base (
3151da7
) to head (f3c54be
). Report is 25 commits behind head on main.
:exclamation: Current head f3c54be differs from pull request most recent head b054584
Please upload reports for the commit b054584 to get more accurate results.
Additional details and impacted files
@@ Coverage Diff @@
## main #677 +/- ##
=======================================
Coverage 78.19% 78.19%
=======================================
Files 36 36
Lines 3806 3806
Branches 706 706
=======================================
Hits 2976 2976
Misses 524 524
Partials 306 306
in the failing tests, set tau_a, tau_b > 0.5
- try increase the taus for the failing tests for FGW/GW problems
- default to None the n iterations
I tried all of your suggestions and it only worked when I set the tau's to be 1.0 which is balanced. I checked again and it fails after this https://github.com/ott-jax/ott/commit/41906a2a1ade19aa154189fabd7c159a160c9bf3 commit specifically. I created a PR separately for the setting the defaults to None https://github.com/theislab/moscot/pull/686
ok then i think we need to raise this to @michalk8 because it is not expected
agree, can you maybe try to run the example without moscot, but directly with ott-jax @selmanozleyen ? This might help @michalk8
agree, can you maybe try to run the example without moscot, but directly with ott-jax @selmanozleyen ? This might help @michalk8
@MUCDK ok I created it here https://github.com/ott-jax/ott/issues/519