nku-shengzheliu / Pytorch-TransVG

An unofficial pytorch implementation of "TransVG: End-to-End Visual Grounding with Transformers".
MIT License
51 stars 4 forks source link

ValueError: too many values to unpack (expected 9) #8

Open nevinmusula opened 2 years ago

nevinmusula commented 2 years ago

when i run the evaluation part i get the following error:

Traceback (most recent call last): File "train.py", line 473, in main() File "train.py", line 222, in main _ = test_epoch(test_loader, model) File "train.py", line 401, in test_epoch for batch_idx, (imgs, masks, word_id, word_mask, bbox, ratio, dw, dh, im_id) in enumerate(val_loader): ValueError: too many values to unpack (expected 9)

what could be the problem?

preetom-saha-arko commented 1 year ago

@nevinmusula Could you solve the problem? I am getting Keyerror : 0