Error using dlnetwork and dlfeval
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I am only trying to recreate this example: https://www.mathworks.com/help/images/unsupervised-medical-image-denoising-using-unit.html
I get this error :
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1126730/image.png)
0 commentaires
Réponses (1)
Abolfazl Chaman Motlagh
le 15 Sep 2022
the image or images you're forwarding through dl network is colored ( has 3 channels - RGB most probably). try rgb2gray function on your dataset for set channel dimension to 1.
8 commentaires
Abolfazl Chaman Motlagh
le 22 Sep 2022
that shouldn't be possible :) (because the error is "there is no modelGradientGen value or function but we just add it!)
ok. fix your own code by adding modelGradientGen to supporting functions yourself. and run it.
Voir également
Catégories
En savoir plus sur Deep Learning for Image Processing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!