output:
Traceback (most recent call last): File "q1.py", line 13, in <module> img_id_requested = vqa.getImgIds(quesIds=[q_requested[0]['question_id']]) File "external\vqa\vqa.py", line 113, in getImgIds anns = sum([self.qa[quesId] for quesId in quesIds if quesId in self.qa], []) TypeError: can only concatenate list (not "dict") to list
is this the expected behaviour? I modifed line 113 in vqa.py to return the image_id as below but not sure if it will break something else.
anns = [self.qa[quesId] for quesId in quesIds if quesId in self.qa]
output:
Traceback (most recent call last): File "q1.py", line 13, in <module> img_id_requested = vqa.getImgIds(quesIds=[q_requested[0]['question_id']]) File "external\vqa\vqa.py", line 113, in getImgIds anns = sum([self.qa[quesId] for quesId in quesIds if quesId in self.qa], []) TypeError: can only concatenate list (not "dict") to list
is this the expected behaviour? I modifed line 113 in vqa.py to return the image_id as below but not sure if it will break something else.
anns = [self.qa[quesId] for quesId in quesIds if quesId in self.qa]