projects
/
flatland.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed the default argument values.
[flatland.git]
/
flatland-test.py
diff --git
a/flatland-test.py
b/flatland-test.py
index
905e842
..
5fc687f
100755
(executable)
--- a/
flatland-test.py
+++ b/
flatland-test.py
@@
-47,15
+47,15
@@
parser.add_argument('--height',
help = 'Image height')
parser.add_argument('--nb_shapes',
help = 'Image height')
parser.add_argument('--nb_shapes',
- type = int, default =
10
,
+ type = int, default =
8
,
help = 'Image height')
parser.add_argument('--nb_sequences',
help = 'Image height')
parser.add_argument('--nb_sequences',
- type = int, default =
1
,
+ type = int, default =
4
,
help = 'How many sequences to generate')
parser.add_argument('--nb_images_per_sequences',
help = 'How many sequences to generate')
parser.add_argument('--nb_images_per_sequences',
- type = int, default =
3
,
+ type = int, default =
16
,
help = 'How many images per sequence')
parser.add_argument('--randomize_colors',
help = 'How many images per sequence')
parser.add_argument('--randomize_colors',
@@
-113,4
+113,6
@@
x = flatland.generate_sequence(False,
args.randomize_colors,
args.randomize_shape_size)
args.randomize_colors,
args.randomize_shape_size)
-sequences_to_image(x, gap = 1, gap_color = (0, 0, 0)).save('sequences.png')
+sequences_to_image(x, gap = 3, gap_color = (0, 150, 200)).save('sequences.png')
+
+print('Saved sequences.png.')