summaryrefslogtreecommitdiff
path: root/examples/domain-adaptation/plot_otda_color_images.py
diff options
context:
space:
mode:
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,))