This is the Reproducibility Code on "Learning to Count Objects in Natural Images for Visual Question Answering " for the ICLR 2018 approved paper authored by Yan Zhang, Jonathon Hare, Adam Prügel-Bennett.
The original paper can be found in the following link: https://openreview.net/forum?id=B12Js_yRb
This reproduces the results of the toytask dataset due to computational constraints on the dataset. Although done on a small scale using the available computation at the time of reproduction. This code generates the results with great accuracy. Experiments using 8+1 and 32+1 weights for the linear activation functions was done as mentioned but not implemented as in the original paper.