InternVL icon indicating copy to clipboard operation
InternVL copied to clipboard

[Feature] 使用--use_packed_ds True 时,会报错,请问该如何修改。

Open situguaiwu opened this issue 1 year ago • 2 comments

Motivation

File "internvl_chat/internvl/patch/pad_data_collator.py", line 104, in concat_pad_data_collator batch[k] = torch.stack([f[k] for f in features]) RuntimeError: stack expects each tensor to be equal size, but got [8145] at entry 0 and [8153] at entry 1

Related resources

No response

Additional context

No response

situguaiwu avatar Dec 24 '24 09:12 situguaiwu

请问这个问题解决了吗

zxc351200 avatar Jan 23 '25 09:01 zxc351200

请问这个问题解决了吗

Yuxin916 avatar Oct 07 '25 16:10 Yuxin916