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

[MRG] Domain adaptation and unbalanced solvers with backend support #343

Merged
merged 49 commits into from
Mar 24, 2022
Merged
Show file tree
Hide file tree
Changes from 40 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
756f4d3
First draft
ncassereau Feb 2, 2022
64e6f66
Merge branch 'master' into domain_adaptation_backend
ncassereau Feb 2, 2022
097cd29
Add matrix inverse and square root to backend
ncassereau Feb 3, 2022
3ecb80f
Eigen decomposition for older versions of pytorch (1.8.1 and older)
ncassereau Feb 3, 2022
bb05da8
Corrected eigen decomposition for pytorch 1.8.1 and older
ncassereau Feb 4, 2022
230cc09
Spectral theorem is a thing
ncassereau Feb 4, 2022
4e77f0d
Optimization
ncassereau Feb 4, 2022
03d804b
small optimization
ncassereau Feb 4, 2022
29ca8aa
More functions converted
ncassereau Feb 4, 2022
51398e0
pep8
ncassereau Feb 4, 2022
471c2b8
remove a warning and prepare torch meshgrid for future torch release …
ncassereau Feb 4, 2022
274666b
dots and pep8
ncassereau Feb 4, 2022
f9ec3e2
Meshgrid corrected for older version and prepared for future versions…
ncassereau Feb 7, 2022
b25aa74
New backend functions
ncassereau Feb 7, 2022
2e4bd29
Base transport
ncassereau Feb 7, 2022
b639f5f
LinearTransport
ncassereau Feb 7, 2022
c7a435b
All transport classes + pep8
ncassereau Feb 7, 2022
bacef87
PR added to release file
ncassereau Feb 7, 2022
e5a0c6f
Jcpot barycenter test
ncassereau Feb 7, 2022
7a68bc5
unbalanced with backend
ncassereau Feb 7, 2022
5c075db
pep8
ncassereau Feb 7, 2022
d4c0fa0
bug solve
ncassereau Feb 7, 2022
ad426f2
test of domain adaptation with backends
ncassereau Feb 7, 2022
77ac25f
solve bug for tic toc & macos
ncassereau Feb 7, 2022
7698992
solving scipy deprecation warning
ncassereau Feb 9, 2022
142baee
solving scipy deprecation warning attempt2
ncassereau Feb 9, 2022
f109396
solving scipy deprecation warning attempt3
ncassereau Feb 9, 2022
cd8ddaf
A warning is triggered when a float->int conversion is detected
ncassereau Feb 9, 2022
b1a1b41
bug solve
ncassereau Feb 9, 2022
e735baf
docs
ncassereau Feb 9, 2022
0c2268f
release file updated
ncassereau Feb 9, 2022
01dfa6a
Better handling of float->int conversion in EMD
ncassereau Feb 9, 2022
32731a9
Corrected test for is_floating_point
ncassereau Feb 9, 2022
d235e3f
docs
ncassereau Feb 9, 2022
82fafe4
Merge branch 'master' into domain_adaptation_backend
ncassereau Feb 15, 2022
e0bf995
Merge branch 'master' into domain_adaptation_backend
rflamary Feb 23, 2022
a7163cb
release file updated
ncassereau Feb 23, 2022
029789d
Merge branch 'master' into domain_adaptation_backend
ncassereau Feb 23, 2022
e2d8964
Merge branch 'master' into domain_adaptation_backend
ncassereau Mar 2, 2022
6570ba9
Merge branch 'master' into domain_adaptation_backend
ncassereau Mar 10, 2022
fcde820
Merge branch 'master' into domain_adaptation_backend
rflamary Mar 18, 2022
8803a9e
cupy does not allow implicit cast
ncassereau Mar 23, 2022
3e2ff10
fromnumpy
ncassereau Mar 23, 2022
53803fa
added test
ncassereau Mar 23, 2022
0a287e7
test da tf jax
ncassereau Mar 23, 2022
73e2117
test unbalanced with no provided histogram
ncassereau Mar 23, 2022
89addb6
using type_as argument in unif function correctly
ncassereau Mar 23, 2022
470aa40
pep8
ncassereau Mar 23, 2022
7039a39
transport plan cast in emd changed behaviour, now trying to cast as h…
ncassereau Mar 24, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
of the regularization parameter (PR #336).
- Backend implementation for `ot.lp.free_support_barycenter` (PR #340).
- Add weak OT solver + example (PR #341).
- Add backend support for Domain Adaptation and Unbalanced solvers (PR #343).
- Add (F)GW linear dictionary learning solvers + example (PR #319)
- Add links to related PR and Issues in the doc release page (PR #350)

Expand All @@ -18,6 +19,7 @@
- Fix bug in instantiating an `autograd` function `ValFunction` (Issue #337,
PR #338)
- Fix POT ABI compatibility with old and new numpy (Issue #346, PR #349)
- Warning when feeding integer cost matrix to EMD solver resulting in an integer transport plan (Issue #345, PR #343)
- Fix bug where gromov_wasserstein2 does not perform backpropagation with CUDA
tensors (Issue #351, PR #352)

Expand Down
Loading