採用された回答

Abhishek Gupta
Abhishek Gupta 2021 年 4 月 14 日

0 投票

Hi,
In trainNetwork(), the first argument (i.e., Predictors, features, images, or sequences) must be a numeric array, datastore, or table (see here for more details). Here you seem to give the images' location as the input ("Alex/"), which is not correct.
To resolve this issue, you can create an imageDataStore and give it as the first input argument.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Get Started with Statistics and Machine Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by