In the following section of the code in dataloader_qa_grd_baseline.py,
if len(question) < self.max_len:
n = self.max_len - len(question)
for i in range(n):
question.append('<pad>')
are you padding the question with extra tokens? and if so, did you not find a question with length more than 14? Rather I would like to ask what happens if question length is more than 14. Also, is it related to the 14*14 visual features.