i have to slove the case sensitive error.

1 次查看(过去 30 天)
i have to classify images in 2 categories and i write the code for CNN model, in which i have to load the images in imageDataStore. I write this statement:
imds = ImageDatastore('C:\Users\sidi\Desktop\alcn\Dataset','IncludeSubFolders',1,'LabelSource','foldernames');
the main directory is named as alcn in which a code file and 1 folder name Dataset exist. In dataset folder 2 folders exist named as Train and Validation and both folders have 2categories folders.
but error occur:
Cannot find an exact (case-sensitive) match for 'ImageDatastore'
The closest match is: imageDatastore in C:\Program Files\MATLAB\R2017a\toolbox\matlab\datastoreio\imageDatastore.m
Please try to solve out this problem.

回答(1 个)

Star Strider
Star Strider 2020-8-28
The ‘i’ is lowercase: imageDatastore
.

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by