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

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!

1 件のコメント

yang li
yang li 2021 年 5 月 26 日
Your reply is very helpful
The problem is solved
Thank you

サインインしてコメントする。

カテゴリ

質問済み:

2021 年 5 月 24 日

コメント済み:

2021 年 5 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by