How to solve the error Undefined function or variable 'augmentedImageDatastore'?
古いコメントを表示
Hi, I found this error when trying to resize the images in my program that use Alexnet how can I solve it?
回答 (6 件)
Walter Roberson
2018 年 3 月 16 日
0 投票
https://www.mathworks.com/help/nnet/ref/augmentedimagedatastore.html was new in R2017b, whereas alexnet was new in R2017a. If you are using R2017a you would not have augmentedImageDatastore
4 件のコメント
leyue wang
2018 年 3 月 22 日
I am using R2017b while I have the same problem using augmentedImageDatastore
Dikshant Bisht
2018 年 3 月 28 日
I'm also having same problem using augmentedImageDatastore, when looking into add-on explorer it is showing installed but still i can't use it
Upeka Somaratne
2018 年 4 月 5 日
'augmentedImageSource()' works but matlab (R2017b)is crashing..
Marcelo Dietrich
2018 年 3 月 23 日
0 投票
I'm having the same problem... Any suggestions on how to solve it?
Dnon Dnon
2018 年 3 月 25 日
0 投票
I'm having same problem. I'm using Matlab 2017b
Stu
2018 年 4 月 4 日
0 投票
Any solution for this please?I'm using R2017a
Sachin Dalvi
2018 年 4 月 9 日
I am getting the same error. I am using matlab 2017b and when I try to resize images as:
newImds = augmentedImageDatastore(outputSize,imds);
I get error as: Undefined function or variable 'augmentedImageDatastore'.
Could somebody please help with any solution on how to solve this ?
Stu
2018 年 4 月 9 日
0 投票
I installed R2018a and augmentedImageDatastore function worked. I think this function was introduced only in R2018a as it says in the last line of the documentation page. https://www.mathworks.com/help/nnet/ref/augmentedimagedatastore.html

2 件のコメント
mingwei wen
2019 年 11 月 16 日
So what should i do?update the matlab?
Walter Roberson
2019 年 11 月 16 日
mingwei wen: if you are using before R2018a you should probably upgrade. There is a way to construct an image data store in a couple of releases before that, by constructing a data store and setting the options to make it an image data store, but in those older releases not many functions supported those kinds of data stores.
カテゴリ
ヘルプ センター および File Exchange で Deep Learning Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!