We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if your kornia version == 0.7.3, when your excute python3 train.py you will see a errorAttributeError: module 'kornia.losses' has no attribute 'SSIM'
0.7.3
python3 train.py
AttributeError: module 'kornia.losses' has no attribute 'SSIM'
solution: update the train.py from Loss_ssim = kornia.losses.SSIM(11, reduction='mean') to Loss_ssim = kornia.losses.SSIMLoss(11, reduction='mean')
Loss_ssim = kornia.losses.SSIM(11, reduction='mean')
Loss_ssim = kornia.losses.SSIMLoss(11, reduction='mean')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if your kornia version ==
0.7.3
,when your excute
python3 train.py
you will see a error
AttributeError: module 'kornia.losses' has no attribute 'SSIM'
solution:
update the train.py from
Loss_ssim = kornia.losses.SSIM(11, reduction='mean')
toLoss_ssim = kornia.losses.SSIMLoss(11, reduction='mean')
The text was updated successfully, but these errors were encountered: