Error Using 'augmentedImageDatastore class.
1 view (last 30 days)
Show older comments
I am using the following matlab builtin example
openExample('nnet/TransferLearningUsingGoogLeNetExample')
when i run the
augimdsValidation = augmentedImageDatastore(inputSize(1:2),imdsValidation);
section it gives me the error please help
In class 'augmentedImageDatastore', the get method for Dependent property 'NumObservations' attempts to access the stored property value. Dependent properties don't store a value
0 Comments
Answers (1)
Jayanti
on 13 May 2025
Hi John,
If you’re getting strange or unexpected errors like the one, you're seeing. There are good chances that MATLAB is not using the built-in version of “augmentedImageDatastore” but instead using a custom version in your path.
Run the following in MATLAB:
which("augmentedImageDatastore")
This command will tell you where MATLAB is finding the definition of “augmentedImageDatastore”.
0 Comments
See Also
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!