xhuangcv / hdr-nerf

The official implementation of CVPR 2022 paper: HDR-NeRF: High Dynamic Range Neural Radiance Fields
MIT License
196 stars 13 forks source link

code deprecation #6

Closed addy1997 closed 1 year ago

addy1997 commented 2 years ago

Hi @shsf0817,

Apologies for creating an issue again.

The two lines you can see below are deprecated.

from skimage.measure import compare_ssim
from skimage.measure import compare_psnr

The functions compare_ssim and compare_psnr are changed in the skimage library. These lines are to be changed with

from skimage.metrics import structural_similarity from skimage.metrics import peak_signal_noise_ratio

For more info, see this issue: https://github.com/scikit-image/scikit-image/issues/3567