summaryrefslogtreecommitdiff
path: root/examples/domain-adaptation/plot_otda_color_images.py
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2021-06-02 12:59:35 +0200
committerGitHub <noreply@github.com>2021-06-02 12:59:35 +0200
commitd693ac25988dd557cb1ee7fc96f3a656f7d4301c (patch)
tree9dc6d91b816b4b379684fbd12bf0e853f22374c0 /examples/domain-adaptation/plot_otda_color_images.py
parent184f8f4f7ac78f1dd7f653496d2753211a4e3426 (diff)
[WIP] Add Wasserstein GAN and debug memory leak (#254)
* add example and debug memory leak * print stuff * speedup gallery * Apply suggestions from code review Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org> * test cells * proper header gan exmaple * cleanup sections * last changes ? Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
Diffstat (limited to 'examples/domain-adaptation/plot_otda_color_images.py')
-rw-r--r--examples/domain-adaptation/plot_otda_color_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/domain-adaptation/plot_otda_color_images.py b/examples/domain-adaptation/plot_otda_color_images.py
index d70f1fc..6218b13 100644
--- a/examples/domain-adaptation/plot_otda_color_images.py
+++ b/examples/domain-adaptation/plot_otda_color_images.py
@@ -53,7 +53,7 @@ X1 = im2mat(I1)
X2 = im2mat(I2)
# training samples
-nb = 1000
+nb = 500
idx1 = r.randint(X1.shape[0], size=(nb,))
idx2 = r.randint(X2.shape[0], size=(nb,))