Open bezorro opened 2 years ago
Hi,because the lengths of datas are different,the collate() in dataloader can't work if batchsize!=1.
Hi,because the lengths of datas are different,the collate() in dataloader can't work if batchsize!=1.
Thanks @TonyLRJ , so we can implement collate_fn of the dataloader to support the collecting data with different lengths? If the answer is YES, I will try to fix it. Are there any other reason? e.g. the model may not able to forward with batch_size!=1?
Hi,because the lengths of datas are different,the collate() in dataloader can't work if batchsize!=1.
Thanks @TonyLRJ , so we can implement collate_fn of the dataloader to support the collecting data with different lengths? If the answer is YES, I will try to fix it. Are there any other reason? e.g. the model may not able to forward with batch_size!=1?
Hi, have you fixed this problem? And could you please share the solution?
I found the main difficult point is that how to process the batch mode of linear_interpolation with padding.
Hi, I find that batch_size = 1(refer to link). Is there any reason? I think it may be faster with a larger batch_size