error while trying to import folder and subfolders using image datastore.

11 ビュー (過去 30 日間)
Sunusi Abdullahi
Sunusi Abdullahi 2020 年 3 月 24 日
コメント済み: Sunusi Abdullahi 2020 年 3 月 24 日
Hello,
please can someone help me to fix this error message, I am trying to import image folder with subfolders inside using image datastore to train deep learning network, while trying the following error message is always displaying "Error using datastore (line 120)
Cannot find files or folders matching: 'imageFolder'.
Error in train (line 20)
imds = datastore('imageFolder','IncludeSubfolders',true,'LabelSource','foldernames');
  2 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 3 月 24 日
Sunusi - from datastore location, Specify location as a local path to files or folders. If the files are not in the current folder, then local path must specify full or relative paths. Files within subfolders of the specified folder are not automatically included in the datastore. You can use the wildcard character (*) when specifying the local path. This character specifies that the datastore include all matching files or all files in the matching folders. Perhaps you need to specify the full path to imageFolder rather than just the folder name.
Sunusi Abdullahi
Sunusi Abdullahi 2020 年 3 月 24 日
okay, thank you very much

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeBig Data Processing についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by