WebQnA/WebQA_Baseline

if context[0] in ['img', 'both']: assert np.array(cxt_modality_label).size == vis_feats.size(0) == vis_pe.size(0) AssertionError

Opened this issue · 2 comments

I have this bug and want to seek for solutions.

Hi Muhe:

Can you please print out cxt_modality_label.size(), vis_feats.size() and vis_pe.size()? Basically this line is just confirming that the dataloader returns same-length variables.