You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix sinkhorn2 bug for ReverseDiff
* remove unnecessary files and format
* fix typo
* change eps to be larger for autodiff tests
* incorporate @devmotion's fix instead and fix deps
* test to fix CI
* format
Copy file name to clipboardExpand all lines: test/entropic/sinkhorn_gibbs.jl
+64-60Lines changed: 64 additions & 60 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@ using OptimalTransport
2
2
3
3
using Distances
4
4
using ForwardDiff
5
+
using ReverseDiff
5
6
using LogExpFunctions
6
7
using PythonOT: PythonOT
7
8
@@ -160,68 +161,71 @@ Random.seed!(100)
160
161
# together. test against gradient computed using analytic formula of Proposition 2.3 of
161
162
# Cuturi, Marco, and Gabriel Peyré. "A smoothed dual approach for variational Wasserstein problems." SIAM Journal on Imaging Sciences 9.1 (2016): 320-343.
162
163
#
164
+
ε =0.05# use a larger ε to avoid having to do many iterations
0 commit comments