amirbar / visual_prompting

Official implementation and data release of the paper "Visual Prompting via Image Inpainting".
https://yossigandelsman.github.io/visual_prompt
302 stars 21 forks source link

How to generate the 'Synthetic Data'? #4

Closed tanganke closed 1 year ago

tanganke commented 1 year ago

How can I generate the synthetic dataset described at section 4.3? image

amirbar commented 1 year ago

It is present here: https://github.com/amirbar/visual_prompting/blob/main/evaluate/reasoning_dataloader.py