Augmented image data store wont work unless i write Augmented image Source, is this stopping me from making a data store?
1 view (last 30 days)
Show older comments
Compile errors says:
Error using trainingOptions (line 187)
The value of 'ValidationData' is invalid. Validation data must be a table, an ImageDatastore, or a cell
array with input data and responses.
2 Comments
Answers (2)
Walter Roberson
on 11 Apr 2018
augmented image data store was not introduced until R2018a.
2 Comments
Walter Roberson
on 11 Apr 2018
The input images must be RGB for alexnet. You can construct RGB images from grayscale images as
imds.ReadFcn = @(loc) repmat(imresize(imread(loc),[inputSize]),[1 1 3]);
Helen Victoria
on 14 Dec 2018
Error using trainingOptions (line 262)
The value of 'ValidationData' is invalid. MiniBatchable Datastore has no responses.
Error in cifarpretrained (line 24)
options = trainingOptions('sgdm', . Am getting this error while training on alexnet using transfer.I am using 2018b version
0 Comments
See Also
Categories
Find more on Image Data Workflows 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!