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
Hello, thank you very much for your code, but I raised the following questions during the training, may I ask why?
Traceback (most recent call last):
File "main.py", line 153, in
main()
File "main.py", line 119, in main
train_loader, val_loader, vocab_size, num_classes = prepare_data(args)
File "/home/disk/lmc/vqa-winner-cvprw-2017/data_loader.py", line 72, in prepare_data
VQAv2(root=args.data_root, train=True),
File "/home/disk/lmc/vqa-winner-cvprw-2017/data_loader.py", line 38, in init
que[i] = word2idx[word]
IndexError: index 14 is out of bounds for axis 0 with size 14
Hello, thank you very much for your code, but I raised the following questions during the training, may I ask why?
Traceback (most recent call last):
File "main.py", line 153, in
main()
File "main.py", line 119, in main
train_loader, val_loader, vocab_size, num_classes = prepare_data(args)
File "/home/disk/lmc/vqa-winner-cvprw-2017/data_loader.py", line 72, in prepare_data
VQAv2(root=args.data_root, train=True),
File "/home/disk/lmc/vqa-winner-cvprw-2017/data_loader.py", line 38, in init
que[i] = word2idx[word]
IndexError: index 14 is out of bounds for axis 0 with size 14
vqa-winner-cvprw-2017/data_loader.py
Line 36 in 88894c8
The text was updated successfully, but these errors were encountered: