Adds a script caption_vg.py that provides image captions to a sample of images from Visual Genome, while allowing the option to caption with a list of alternative prompts. A sample of such prompts is provided in alternative_prompts.txt.
Sample output can be found in /nas/gaia02/data/paper2023/vg/vg_output.tsv, and was produced by the following command:
Closes #8
Adds a script
caption_vg.py
that provides image captions to a sample of images from Visual Genome, while allowing the option to caption with a list of alternative prompts. A sample of such prompts is provided inalternative_prompts.txt
.Sample output can be found in
/nas/gaia02/data/paper2023/vg/vg_output.tsv
, and was produced by the following command: