How to solve the error Undefined function or variable 'augmentedImageDatastore'?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I found this error when trying to resize the images in my program that use Alexnet how can I solve it?
0 comentarios
Respuestas (6)
Walter Roberson
el 16 de Mzo. de 2018
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 comentarios
Upeka Somaratne
el 5 de Abr. de 2018
'augmentedImageSource()' works but matlab (R2017b)is crashing..
Marcelo Dietrich
el 23 de Mzo. de 2018
I'm having the same problem... Any suggestions on how to solve it?
0 comentarios
Sachin Dalvi
el 9 de Abr. de 2018
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 ?
0 comentarios
Stu
el 9 de Abr. de 2018
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181153/image.jpeg)
2 comentarios
Walter Roberson
el 16 de Nov. de 2019
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.
Ver también
Categorías
Más información sobre Image Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!