How to solve the error Undefined function or variable 'augmented​ImageDatas​tore'?

조회 수: 6 (최근 30일)
Soad Almabdy
Soad Almabdy 2018년 3월 16일
댓글: Walter Roberson 2019년 11월 16일
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
Walter Roberson 2018년 3월 16일
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
Shamim
Shamim 2018년 4월 2일
편집: Shamim 2018년 4월 2일
try 'augmentedImageSource()' instead of 'augmentedImageDatastore()'
Upeka Somaratne
Upeka Somaratne 2018년 4월 5일
'augmentedImageSource()' works but matlab (R2017b)is crashing..

댓글을 달려면 로그인하십시오.


Marcelo Dietrich
Marcelo Dietrich 2018년 3월 23일
I'm having the same problem... Any suggestions on how to solve it?

Dnon Dnon
Dnon Dnon 2018년 3월 25일
I'm having same problem. I'm using Matlab 2017b

Stu
Stu 2018년 4월 4일
Any solution for this please?I'm using R2017a

Sachin Dalvi
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
Stu 2018년 4월 9일
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
mingwei wen 2019년 11월 16일
So what should i do?update the matlab?
Walter Roberson
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.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by