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

ImportError: cannot import name 'compare_psnr' from 'skimage.measure' #103

Open
malonec3 opened this issue Nov 21, 2022 · 3 comments
Open

Comments

@malonec3
Copy link

malonec3 commented Nov 21, 2022

For superresolution.py and denoising.py

I believe this function was renamed in release 0.16 and the older compare_psnr name was removed in 0.18. You should be able to import under the new name with:
from skimage.metrics import peak_signal_noise_ratio

@zcy5417
Copy link

zcy5417 commented Nov 21, 2022 via email

@zalteck
Copy link

zalteck commented Nov 28, 2023

I am having issues as well to import the function with the new name "peak_signal_noise_ratio"

@zcy5417
Copy link

zcy5417 commented Nov 28, 2023 via email

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

3 participants