diff options
-rw-r--r-- | .github/workflows/main.yml | 1 | ||||
-rw-r--r-- | .github/workflows/pythonpackage.yml | 2 | ||||
-rw-r--r-- | codecov.yml | 2 | ||||
-rw-r--r-- | docs/rtd/index.md | 6 | ||||
-rwxr-xr-x | examples/plot_gromov_barycenter.py | 8 | ||||
-rw-r--r-- | examples/plot_otda_mapping_colors_images.py | 6 |
6 files changed, 15 insertions, 10 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7153fe6..ae7bfca 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,4 @@ +name: circleci-redirector on: [status] jobs: circleci_artifacts_redirector_job: diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index af6efb7..394f453 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -36,7 +36,7 @@ jobs: # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + flake8 examples/ ot/ test/ --count --max-line-length=127 --statistics - name: Install POT run: | pip install -e . diff --git a/codecov.yml b/codecov.yml index 1e7b888..fbd1b07 100644 --- a/codecov.yml +++ b/codecov.yml @@ -12,3 +12,5 @@ coverage: comment: layout: "header, diff, sunburst, uncovered" behavior: default +codecov: + token: 057953e4-d263-41c0-913c-5d45c0371df9
\ No newline at end of file diff --git a/docs/rtd/index.md b/docs/rtd/index.md index 9acdcf3..734574e 100644 --- a/docs/rtd/index.md +++ b/docs/rtd/index.md @@ -1 +1,5 @@ -<meta http-equiv="refresh" content="0; URL=https://PythonOT.github.io">`
\ No newline at end of file +<meta http-equiv="refresh" content="0; URL=https://PythonOT.github.io"> + +# POT: Python Optimal Transport + +The documentation has been moved to : [https://PythonOT.github.io](https://PythonOT.github.io)
\ No newline at end of file diff --git a/examples/plot_gromov_barycenter.py b/examples/plot_gromov_barycenter.py index 101c6c5..6b29687 100755 --- a/examples/plot_gromov_barycenter.py +++ b/examples/plot_gromov_barycenter.py @@ -89,10 +89,10 @@ def im2mat(I): return I.reshape((I.shape[0] * I.shape[1], I.shape[2]))
-square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2] / 256
-cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2] / 256
-triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2] / 256
-star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2] / 256
+square = pl.imread('../data/square.png').astype(np.float64)[:, :, 2]
+cross = pl.imread('../data/cross.png').astype(np.float64)[:, :, 2]
+triangle = pl.imread('../data/triangle.png').astype(np.float64)[:, :, 2]
+star = pl.imread('../data/star.png').astype(np.float64)[:, :, 2]
shapes = [square, cross, triangle, star]
diff --git a/examples/plot_otda_mapping_colors_images.py b/examples/plot_otda_mapping_colors_images.py index bc9afba..a0938a0 100644 --- a/examples/plot_otda_mapping_colors_images.py +++ b/examples/plot_otda_mapping_colors_images.py @@ -8,11 +8,9 @@ OT for domain adaptation with image color adaptation [6] with mapping estimation [8]. [6] Ferradans, S., Papadakis, N., Peyre, G., & Aujol, J. F. (2014). Regularized - discrete optimal transport. SIAM Journal on Imaging Sciences, 7(3), - 1853-1882. +discrete optimal transport. SIAM Journal on Imaging Sciences, 7(3), 1853-1882. [8] M. Perrot, N. Courty, R. Flamary, A. Habrard, "Mapping estimation for - discrete optimal transport", Neural Information Processing Systems (NIPS), - 2016. +discrete optimal transport", Neural Information Processing Systems (NIPS), 2016. """ |