This is the official implementation of our ICLR 2018 paper [Learning to Count Objects in Natural Images for Visual Question Answering][0] in [PyTorch][1]. In this paper, we introduce a counting component that allows VQA models to count objects from an attention map, achieving state-of-the-art…