This is the code used to generate the CLEVR dataset as described in the paper: CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning. Presented at CVPR 2017
Code and pretrained models for the baselines used in the paper can be found here.
You can use this code to render synthetic images and compositional questions for those images.