Error Using 'augmentedImageDatastore class.

8 ビュー (過去 30 日間)
john karli
john karli 2021 年 10 月 12 日
回答済み: Jayanti 2025 年 5 月 13 日
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 日
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”.

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by