Open hujiayu712 opened 5 years ago
You need to modify generatepatches.m
and the training code which is DnCNN_train_dag.m
or DnCNN_train.m
The details are following
imdb.labels
- clean patch and imbd.set
- indicate training and testing mini-batch. getSimpleNNBatch(imdb, batch)
function will add noise to the clean image in imdb.labels as "inputs".So for your problem you need to
Hope it helps
hello If i want to train the net by my own (clean-noisy)image pairs but not guassian noise. How can i revise the train code.Thanks a lot!