Missing declaration of "valSetSize" in Example "Develop Raw Camera Processing Pipeline Using Deep Learning"

1 回表示 (過去 30 日間)
When I try to use this example (link: https://ww2.mathworks.cn/help/images/develop-raw-camera-processing-pipeline-using-deep-learning.html) to train a neural network. I changed the value of "doTraining" to "true". But an error is reported on line 204. The error message is "The function or variable ‘valSetSize’ is not recognized".
I confirmed that the variable "valSetSize" is not defined in the context.
So how can I know how to set this parameter?
Any answers are helpful.
Thank you.

回答 (1 件)

Davide Fantin
Davide Fantin 2021 年 5 月 24 日
Please use the variable numValImages instead of valSetSize.
The variable name valSetSize used in the example is not correct.
Hope this helps!

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by