X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=flatland.git;a=blobdiff_plain;f=README.md;h=9e8e3b3d8f058ca439643036cc73c3633fbd2a6e;hp=c1ff0a278434c5f5a2e28b0c42b77884e51c0d79;hb=924ef5308c54784d2c0a9bbd282e55a16efbf318;hpb=db40d75f91d5d332b475a260df8c034103159286 diff --git a/README.md b/README.md index c1ff0a2..9e8e3b3 100644 --- a/README.md +++ b/README.md @@ -13,21 +13,22 @@ torch.ByteTensor generate_sequence(bool pulling, int nb_shapes, bool random_shape_size, bool random_colors) ``` -with - * `pulling` indicating if one of the shape should be pulled upward, - * `nb_sequences` the number of sequences to generate - * `nb_images` the number of frames per sequence - * `image_height` an `image_width` the individual image size - * `nb_shapes` how many rectangular shapes to put in the simulation - * `random_shape_size` should they be of different size - * `random_colors` should they be of different colors +where + + * `pulling` indicates if one of the shape should be pulled upward, + * `nb_sequences` is the number of sequences to generate, + * `nb_images` is the number of frames per sequence, + * `image_height` and `image_width` is the individual image size, + * `nb_shapes` is the number of rectangular shapes in the simulation, + * `random_shape_size` states if the shapes should be of different sizes, + * `random_colors` states if they should be of different colors. The returned ByteTensor has five dimensions: * Sequence index * Image index - * Channel (3, as for RGB) + * Channel (3 since it is RGB) * Pixel row * Pixel col @@ -38,6 +39,5 @@ small images), the simulation may be stuck. ``` make -j -k -./built.py ./flatland-test.py ```