You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
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.
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: