Why am I getting this error?
cd_loss = validate(it)
File "train.py", line 147, in validate
all_clean = torch.cat(all_clean, dim=0)
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 37712 but got size 31882 for tensor number 1 in the list.