'float' object has no attribute 'size' · Issue #3 · sefibk ...
github.com › sefibk › KernelGANOct 21, 2019 · This will likely lead to incorrect results due to broadcasting. Please ensure they have the same size. return F.l1_loss (input, target, reduction=self.reduction) nn/functional.py", line 2152, in l1_loss if not (target.size () == input.size ()): AttributeError: 'float' object has no attribute 'size'. Is this due to images or implementation error? The text was updated successfully, but these errors were encountered: