- 博客(1)
- 收藏
- 关注
原创 成功解决ValueError: too many values to unpack (expected 2)问题
最近在玩图像描述Image Caption,在运行:targets = caps_sorted[:, 1:]scores= pack_padded_sequence(scores, decode_lengths, batch_first=True)[0]targets ._= pack_padded_sequence(targets, decode_lengths, batch_first=True)时出现报错:targets, _ = pack_padded_sequence(targets,
2021-09-14 11:49:16
734
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人