You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
The text was updated successfully, but these errors were encountered:
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]
The text was updated successfully, but these errors were encountered: