Skip to content

Commit ab561b2

Browse files
committed
working gromov barycenter example
1 parent 3f9d14d commit ab561b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/plot_gromov_barycenter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ def im2mat(I):
8989
return I.reshape((I.shape[0] * I.shape[1], I.shape[2]))
9090

9191

92-
square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2] / 256
93-
cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2] / 256
94-
triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2] / 256
95-
star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2] / 256
92+
square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2]
93+
cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2]
94+
triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2]
95+
star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2]
9696

9797
shapes = [square, cross, triangle, star]
9898

0 commit comments

Comments
 (0)