diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2021-06-02 12:59:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 12:59:35 +0200 |
commit | d693ac25988dd557cb1ee7fc96f3a656f7d4301c (patch) | |
tree | 9dc6d91b816b4b379684fbd12bf0e853f22374c0 /examples/domain-adaptation/plot_otda_color_images.py | |
parent | 184f8f4f7ac78f1dd7f653496d2753211a4e3426 (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.py | 2 |
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,)) |