cszn / DnCNN

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

There is an error in the Keras code #65

Closed DieGlory closed 4 years ago

DieGlory commented 4 years ago

There is an error in DnCNN-master\TrainingCodes\dncnn_keras\main_train.py

File "main_train.py", line 69 x = BatchNormalization(axis=3, momentum=0.0,epsilon=0.0001, name = 'bn'+str(layer_count))(x) ^ TabError: inconsistent use of tabs and spaces in indentation

Just python indentation error. Could you fix the code?