declare-lab/Multimodal-Infomax

ValueError: expected sequence of length 50 at dim 1 (got 39)

chen-kezhou opened this issue · 0 comments

File "/Multimodal-Infomax/src/data_loader.py", line 135, in collate_fn
bert_sentences = torch.LongTensor([sample["input_ids"] for sample in bert_details])