MATLAB Answers

Can't find the file path for my categories in imageDatastore

4 ビュー (過去 30 日間)
Nabiilah 2020 年 6 月 10 日
回答済み: Prabhan Purwar 2020 年 7 月 15 日
outputFolder = fullfile('Classification')
rootFolder = fullfile(outputFolder, 'CelebOriginals')
categories = {'brad'}
imds = imageDatastore(fullfile(rootFolder,categories),'LabelSource','foldernames')
I have the following filepath: C:\Users\Noor_\OneDrive\Pictures\Classification\CelebOriginal\brad but I'm not sure why I'm hitting this error.

  1 件のコメント

Adam Danz
Adam Danz 2020 年 6 月 10 日
What error?
Always provide the full error message.
Why not combine the first two lines of code? The first line doesn't really do anything.
What's the output for,


回答 (1 件)

Prabhan Purwar
Prabhan Purwar 2020 年 7 月 15 日
Kindly provide the required information for better assistance
Please refer to the following links:

  0 件のコメント


Community Treasure Hunt

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

Start Hunting!

Translated by