I ran an example code, but error occurred. (dlnetwork, Train Network Using Custom Training Loop)
Show older comments
I ran an exmaple code of 'dlnetwork', in a part of "Train Network Using Custom Training Loop"
The code was excuted line by line, but there was a problem.
excuded code:
mbq = minibatchqueue(augimdsTrain,...
MiniBatchSize=miniBatchSize,...
MiniBatchFcn=@preprocessMiniBatch,...
MiniBatchFormat=["SSCB" ""]);
error occurred:
Error using minibatchqueue>iValidateMiniBatchFcn
Invalid value for 'MiniBatchFcn'. Unable to find function 'preprocessMiniBatch'.
Error in minibatchqueue>iParseInputs (line 695)
iValidateMiniBatchFcn(options.MiniBatchFcn, numVariables, options.NumOutputs);
Error in minibatchqueue (line 291)
options = iParseInputs(numVariables, varargin{:});
I don't know why this happened.
Is there any idea about this ?
Thank you in advance.
Accepted Answer
More Answers (0)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
