Error message
ImportError: cannot import name ‘compare_psnr’ from ‘skimage.measure’
The reason for the error and the solution.
skimage version 0.18.x compare_psnr()
method has been deprecated and replaced by peek_signal_noise_ratio()
method, just change it in the error report.