This repo contains code for our AAAI 2023 paper:
Hierarchical ConViT with Attention-based Relational Reasoner for Visual Analogical Reasoning
Wentao He, Jialu Zhang, Jianfeng Ren, Ruibin Bai, Xudong Jiang
Proceedings of the AAAI Conference on Artificial Intelligence (AAAI), 2023.
[Paper] [Supplementary] [Video] [Poster]
- Python = 3.6
- torch = 1.8.1+cu111
See requirements.txt
for a full list of packages required. To install the dependencies, run
pip install -r requirements.txt
- RAVEN (CVPR, 2019)
- RAVEN-FAIR (CVPR, 2021)
- I-RAVEN (AAAI, 2021)
- Download the pre-trained models for different datasets from here.
- Run
$ python train.py --test --dataset <DATASET> --path <PATH-TO-DATASETS>
to see the test results.
Code for training will be released shortly.
We thank you for showing interest in our work. If you find the paper and/or the code helpful, please consider citing us using:
@inproceedings{he2023hierarchical,
title={Hierarchical ConViT with Attention-based Relational Reasoner for Visual Analogical Reasoning},
author={He, Wentao and Zhang, Jialu and Ren, Jianfeng and Bai, Ruibin and Jiang, Xudong},
booktitle={Proceedings of the 37th AAAI Conference on Artificial Intelligence},
volume={37},
number={1},
pages={22--30},
year={2023}
}
We'd like to express our sincere gratitude towards all the advisors and anonymous reviewers for helping us improve the paper. We'd like to thank authors for all the pioneer works in this research field.