Important notice
Many of you told us that couldn’t get near the +29dB boost (PSNR) reported in the DIP paper. We are now aware of this issue, and currently looking into it.
For the meantime, you can set your goal to +26dB boost in PSNR (for U-Net with skip-connections). Furthermore, it seems that it works better on uniform noise, so you may replace the previously provided noise function with the following one (scale=0.1 is a reasonable noise scale):
def add_noise(images, scale=0.1, bounds=(0, 1)):
minval, maxval = bounds
noise = np.random.uniform(-scale, scale, size=images.shape)
return np.clip(images + noise, minval, maxval)We apologize for not detecting this problem earlier. Please don’t spend too much time on it.
Best,
The course staff