Open NoviceCrom opened 4 years ago
when executing (, channel, , _) = img1.size()
Likely you calculate ssim value and replace it with the loss definition SSIM() somewhere. Just change the name to ssim_loss = SSIM().
when executing (, channel, , _) = img1.size()