Transfer learning on images for regression
1 次查看（过去 30 天）
Abhishek Gupta 2021-4-14
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.