BasicSR icon indicating copy to clipboard operation
BasicSR copied to clipboard

Error in basicsr/losses/losses.py

Open JHW2000 opened this issue 3 years ago • 1 comments

Error in line 194 : self.criterion = torch.nn.L2loss() When I fix it to: self.criterion = torch.nn.MSELoss() it works please fix it, thanks!

JHW2000 avatar Mar 06 '22 12:03 JHW2000

Maybe there is no defination of L2loss() or no registery, just add it yourself, not diffcult i think

Kimsure avatar Mar 28 '22 02:03 Kimsure