Skip to content
New issue

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

fix a version bug #49

Open
Axbros opened this issue Aug 21, 2024 · 0 comments
Open

fix a version bug #49

Axbros opened this issue Aug 21, 2024 · 0 comments

Comments

@Axbros
Copy link

Axbros commented Aug 21, 2024

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'

solution:
update the train.py from Loss_ssim = kornia.losses.SSIM(11, reduction='mean') to Loss_ssim = kornia.losses.SSIMLoss(11, reduction='mean')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant