Official pytorch implementation of paper "Dual-Level Collaborative Transformer for Image Captioning" (AAAI 2021).
BSD 3-Clause "New" or "Revised" License
194
stars
31
forks
source link
IndexError: invalid index to scalar variable #16
Open
zghorbani opened 3 years ago
.... Epoch 0 - evaluation: 100%|##########| 250/250 [07:44<00:00, 1.86s/it] Epoch 0 - evaluation: 100%|##########| 250/250 [07:44<00:00, 1.86s/it] Traceback (most recent call last): File "train.py", line 356, in
val_cider = scores['CIDEr']
IndexError: invalid index to scalar variable.
Hello, when I run the code , I get this error. Can you help me?