Open zhangbaijin opened 5 years ago
Same problem here.
Same problem!QAQ
Same problem
I deleted the latter two parameters and changed them to “def _pointwise_loss(self, lambd, lambd_optimized, input, target, discounting_mask, size_average=True, reduce=True): if target.requires_grad: d = lambd(input, target) d = d * discounting_mask if not reduce: return d return torch.mean(d) if size_average else torch.sum(d) else: return lambd_optimized(input, target)”。 it can run。
you need to download the CelebA datasets and the filename file...
when i run.py,this is problem,i dont know why,
TypeError: l1_loss() takes from 2 to 3 positional arguments but 4 were given