Error using dlnetwork and dlfeval
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Abolfazl Chaman Motlagh
2022 年 9 月 15 日
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 件のコメント
Abolfazl Chaman Motlagh
2022 年 9 月 22 日
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.
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!