knowing-when-to-look-adaptive-attention icon indicating copy to clipboard operation
knowing-when-to-look-adaptive-attention copied to clipboard

ValueError: too many values to unpack

Open chillaxkrish opened this issue 3 years ago • 1 comments

Can you help me how to solve this issue ?

image

chillaxkrish avatar Mar 20 '21 20:03 chillaxkrish

scores = pack_padded_sequence(predictions, decode_lengths, batch_first=True)[0] targets = pack_padded_sequence(targets, decode_lengths, batch_first=True)[0]

ydyrx-ldm avatar Jun 26 '21 05:06 ydyrx-ldm