The TROPE algorithm in the trope directory. All data required for running TROPE is contained within this codebase. Requirements can be installed by running: 
sh requirements/install.sh

The "baseline" model refers to the Oscar+VinVL captioner.

TROPE can be run using the format:
python3 trope/generate_proposals.py CUB 0.5 baseline

Example outputs for TROPE can be found in the results directory.

Ablations for TROPE can be found in the file structured_cap.sh.