acecreamu/deep-hs-prior

Error from the update of `compare_psnr` for skimage

Ares960826 opened this issue · 0 comments


ImportError Traceback (most recent call last)
Cell In[1], line 9
7 import scipy.io
8 import numpy as np
----> 9 from skimage.measure import compare_psnr
10 import torch
11 import torch.optim

ImportError: cannot import name 'compare_psnr' from 'skimage.measure' (...\miniconda3\envs\torch\Lib\site-packages\skimage\measure_init_.py)

The compare_psnr has been deprecated.