cszn / DnCNN

Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoising (TIP, 2017)
https://cszn.github.io/
1.47k stars 539 forks source link

the data in the training data set can be more than 255? #33

Closed SparkLena closed 6 years ago

SparkLena commented 6 years ago

Hi cszn, I'm trying to train a model with other types of data. the data in the training data set can be more than 255? For example, 0-16384. Error shows 7.6 when I train the model.

Thanks!

Spark

cszn commented 6 years ago

You can normalize the range [0, 16384] into [-1, 1] ([0, 1]). In some cases, log also can help to narrow the range.

SparkLena commented 6 years ago

Thanks ,I will try for it !