3 This is the port of the Synthetic Visual Reasoning Test to the pytorch
9 torch.ByteTensor generate_vignettes(int problem_number, torch.LongTensor labels)
14 * `problem_number` indicates which of the 23 problem to use
15 * `labels` indicates the boolean labels of the vignettes to generate
17 The returned ByteTensor has three dimensions:
23 # Installation and test #
33 should generate an image example.png in the current directory.
35 Note that the image generation does not take advantage of GPUs or
36 multi-core, and can be as slow as 40 vignettes per second s on a 4GHz