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

1 view (last 30 days)
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.

Answers (1)

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

Community Treasure Hunt

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

Start Hunting!