Add back in padding

This commit is contained in:
rockerBOO
2025-04-11 19:33:58 -04:00
parent f553b7bf31
commit 20a99771bf

View File

@@ -804,6 +804,9 @@ class WaveletLoss(nn.Module):
# Combine high frequency bands for visualization
if combined_hf_pred and combined_hf_target:
combined_hf_pred = self._pad_tensors(combined_hf_pred)
combined_hf_target = self._pad_tensors(combined_hf_target)
combined_hf_pred = torch.cat(combined_hf_pred, dim=1)
combined_hf_target = torch.cat(combined_hf_target, dim=1)
else: