Closed Alpkant closed 4 years ago
You are using a higher version of Pytorch. Try to replace the '1.' with 'torch.Tensor(1)'. In the file 'loss.py': line 60: return self.loss(1., torch.sum(kernel))
@xyc2690 - thank you! I updated 'loss.py' accordingly with an extra '.to(kernel.device)' to verify the device. Let me know if it still does not work
When i execute training command given in README on the custom dataset of jpeg images, following error arises:
Is this due to images or implementation error?