diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-24 17:45:13 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2020-04-24 17:45:13 +0200 |
commit | 956df7af113d62eab1d65f6db5fbb81897dc49c6 (patch) | |
tree | 3654c06dbaff0de13f1955648109ec9223fa14cd /examples/barycenters/plot_convolutional_barycenter.py | |
parent | 4bbabc602678a0227bfe9ffae4bbb4caab8a3767 (diff) |
vchange path in examples
Diffstat (limited to 'examples/barycenters/plot_convolutional_barycenter.py')
-rw-r--r-- | examples/barycenters/plot_convolutional_barycenter.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/barycenters/plot_convolutional_barycenter.py b/examples/barycenters/plot_convolutional_barycenter.py index e74db04..cbcd4a1 100644 --- a/examples/barycenters/plot_convolutional_barycenter.py +++ b/examples/barycenters/plot_convolutional_barycenter.py @@ -26,10 +26,10 @@ import ot # The four distributions are constructed from 4 simple images -f1 = 1 - pl.imread('../data/redcross.png')[:, :, 2] -f2 = 1 - pl.imread('../data/duck.png')[:, :, 2] -f3 = 1 - pl.imread('../data/heart.png')[:, :, 2] -f4 = 1 - pl.imread('../data/tooth.png')[:, :, 2] +f1 = 1 - pl.imread('../../data/redcross.png')[:, :, 2] +f2 = 1 - pl.imread('../../data/duck.png')[:, :, 2] +f3 = 1 - pl.imread('../../data/heart.png')[:, :, 2] +f4 = 1 - pl.imread('../../data/tooth.png')[:, :, 2] A = [] f1 = f1 / np.sum(f1) |