From d0756dc8a3e42aae30d1c7f543931a2316981635 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Sat, 1 Apr 2017 23:08:57 +0200 Subject: [PATCH] Switch colorized shapes by default. --- flatland-test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flatland-test.py b/flatland-test.py index 5fc687f..5292845 100755 --- a/flatland-test.py +++ b/flatland-test.py @@ -59,7 +59,7 @@ parser.add_argument('--nb_images_per_sequences', help = 'How many images per sequence') parser.add_argument('--randomize_colors', - action='store_true', default=False, + action='store_true', default=True, help = 'Should the shapes be of different colors') parser.add_argument('--randomize_shape_size', @@ -110,8 +110,8 @@ x = flatland.generate_sequence(False, args.nb_images_per_sequences, args.height, args.width, args.nb_shapes, - args.randomize_colors, - args.randomize_shape_size) + args.randomize_shape_size, + args.randomize_colors) sequences_to_image(x, gap = 3, gap_color = (0, 150, 200)).save('sequences.png') -- 2.39.5