遇到无法导出compare_ssim,compare_psnr,compare_mse,compare_vif均可查阅此文档解决问题
将源代码
from skimage.measure import compare_psnr,compare_ssim,compare_mse,compare_vif
修改为
from skimage.metrics import structural_similarity as compare_ssim
from skimage.metrics import peak_signal_noise_ratio as compare_psnr
from skimage.metrics import mean_squared_error as compare_mse
from skimage.metrics import variation_of_information as compare_vif