@@ -28,7 +28,7 @@ def test_gromov():
2828 C1 /= C1 .max ()
2929 C2 /= C2 .max ()
3030
31- G = ot .gromov .gromov_wasserstein (C1 , C2 , p , q , 'square_loss' )
31+ G = ot .gromov .gromov_wasserstein (C1 , C2 , p , q , 'square_loss' , verbose = True )
3232
3333 # check constratints
3434 np .testing .assert_allclose (
@@ -69,7 +69,7 @@ def test_entropic_gromov():
6969 C2 /= C2 .max ()
7070
7171 G = ot .gromov .entropic_gromov_wasserstein (
72- C1 , C2 , p , q , 'square_loss' , epsilon = 5e-4 )
72+ C1 , C2 , p , q , 'square_loss' , epsilon = 5e-4 , verbose = True )
7373
7474 # check constratints
7575 np .testing .assert_allclose (
@@ -107,7 +107,8 @@ def test_gromov_barycenter():
107107 [ot .unif (ns ), ot .unif (nt )
108108 ], ot .unif (n_samples ), [.5 , .5 ],
109109 'square_loss' , # 5e-4,
110- max_iter = 100 , tol = 1e-3 )
110+ max_iter = 100 , tol = 1e-3 ,
111+ verbose = True )
111112 np .testing .assert_allclose (Cb .shape , (n_samples , n_samples ))
112113
113114 Cb2 = ot .gromov .gromov_barycenters (n_samples , [C1 , C2 ],
@@ -134,7 +135,8 @@ def test_gromov_entropic_barycenter():
134135 [ot .unif (ns ), ot .unif (nt )
135136 ], ot .unif (n_samples ), [.5 , .5 ],
136137 'square_loss' , 2e-3 ,
137- max_iter = 100 , tol = 1e-3 )
138+ max_iter = 100 , tol = 1e-3 ,
139+ verbose = True )
138140 np .testing .assert_allclose (Cb .shape , (n_samples , n_samples ))
139141
140142 Cb2 = ot .gromov .entropic_gromov_barycenters (n_samples , [C1 , C2 ],
0 commit comments