-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
skimage error #90
Comments
From de skimage doc: the function was renamed from 'skimage.measure.compare_psnr' to 'skimage.metrics.peak_signal_noise_ratio'. Then, the import must be like this: from skimage.metrics import peak_signal_noise_ratio as compare_psnr |
check this out: |
已收到!祝每天开开心心!!
|
Any Jupyter notebook throws an error:
ImportError: cannot import name 'compare_psnr' from 'skimage.measure' (C:\ProgramData\Miniconda3\lib\site-packages\skimage\measure_init_.py). Tried two versions scikit-image 0.18.2 and scikit-image 0.16.2 (installed from PIP), Windows 10, Python 3.7.10 PyTorch 1.9.0
Great appreciation for suggestion.
The text was updated successfully, but these errors were encountered: