I have a problem, described as follows:
and the error part from the code is
Anyone knows how to solve it? thanks advance!
I have a problem, described as follows:
and the error part from the code is
Anyone knows how to solve it? thanks advance!
How are your DataLoader
and Dataset
defined? Are you using custom ones?
The error indicates that when you group together tensors to create a mini-batch (the DataLoader
does this with the collate
function), you have tensors of different sizes, which cannot be stacked…
Hi, there is something wrong with your dataloader, I think you should check you data sizes.