Error Using 'augmentedImageDatastore class.

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

답변 (1개)

Jayanti
Jayanti 2025년 5월 13일

0 개 추천

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”.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

질문:

2021년 10월 12일

답변:

2025년 5월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by