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

1 Ansicht (letzte 30 Tage)
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.

Antworten (1)

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

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by