after training a denoising network from dnCNNLayers, how to use it in denoisingNetwork and denoiseImage?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ming-Jer Tsai
am 31 Aug. 2020
Kommentiert: Ming-Jer Tsai
am 16 Sep. 2020
I name my denoising network as dncnn_xfer, which is trained starting from dnCNNLayers. Since denoiseNetwork('dncnn') only accepts 'dncnn' I rename dncnn_xfer as dncnn, dncnn=dncnn_xfer. But net=denoiseNetwork ('dncnn') seems to always pick up the pretrained DnCNN existing in MATLIB instead of dncnn_fer.
0 Kommentare
Akzeptierte Antwort
Madhav Thakker
am 16 Sep. 2020
Hi Ming-Jer,
I understand that you want to use your custom denoising network. I assume you have trained the network sucessfully using the procedure. After training the network using trainnetwork, it returns a trained network in the output argument. There is no need to initialize a network using denoisingNetwork. denoiseImage can accepts as input the trained network and returns a denoised image.
Hope this helps.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Recognition, Object Detection, and Semantic Segmentation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!