Cadene / murel.bootstrap.pytorch

MUREL (CVPR 2019), a multimodal relational reasoning module for VQA
https://arxiv.org/abs/1902.09487
BSD 3-Clause "New" or "Revised" License
195 stars 24 forks source link

Key Error 'visual' #5

Closed HayeonLee closed 5 years ago

HayeonLee commented 5 years ago

I got keyerror 'visual' during executing code on vqa-cp2 dataset..! Could help me? image

Cadene commented 5 years ago

@HayeonLee That's strange :/

Did you solve the issue?

I would add import ipdb;ipdb.set_trace() in murel_net.py just before line 96 to inspect the content of batch. It could be due to a different implementation of the torch.nn.DataParallel.

What is your version of pytorch? Ours is 1.0.x.