├── .gitignore ├── LICENSE ├── README.md ├── assets └── teaser.png ├── requirements.txt ├── templates ├── complex_templates.json ├── heldout_templates.json └── simple_templates.json └── tm ├── __init__.py ├── qa_datasets ├── __init__.py ├── base_vqa_datasets.py └── single_imageqa_datasets.py ├── qa_models ├── __init__.py ├── base_qa_model.py ├── imageqa_model.py └── utils.py └── template_generator ├── __init__.py ├── base.py ├── template_utils.py └── vqa_meta_data.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/README.md -------------------------------------------------------------------------------- /assets/teaser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/assets/teaser.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/requirements.txt -------------------------------------------------------------------------------- /templates/complex_templates.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/templates/complex_templates.json -------------------------------------------------------------------------------- /templates/heldout_templates.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/templates/heldout_templates.json -------------------------------------------------------------------------------- /templates/simple_templates.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/templates/simple_templates.json -------------------------------------------------------------------------------- /tm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tm/qa_datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_datasets/__init__.py -------------------------------------------------------------------------------- /tm/qa_datasets/base_vqa_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_datasets/base_vqa_datasets.py -------------------------------------------------------------------------------- /tm/qa_datasets/single_imageqa_datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_datasets/single_imageqa_datasets.py -------------------------------------------------------------------------------- /tm/qa_models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_models/__init__.py -------------------------------------------------------------------------------- /tm/qa_models/base_qa_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_models/base_qa_model.py -------------------------------------------------------------------------------- /tm/qa_models/imageqa_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_models/imageqa_model.py -------------------------------------------------------------------------------- /tm/qa_models/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/qa_models/utils.py -------------------------------------------------------------------------------- /tm/template_generator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/template_generator/__init__.py -------------------------------------------------------------------------------- /tm/template_generator/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/template_generator/base.py -------------------------------------------------------------------------------- /tm/template_generator/template_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/template_generator/template_utils.py -------------------------------------------------------------------------------- /tm/template_generator/vqa_meta_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shijian2001/TemplateMatters/HEAD/tm/template_generator/vqa_meta_data.py --------------------------------------------------------------------------------