Transfer learning on images for regression
6 views (last 30 days)
Abhishek Gupta on 14 Apr 2021
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.