MATLAB Answers

Transfer learning on images for regression

4 views (last 30 days)

Accepted Answer

Abhishek Gupta
Abhishek Gupta on 14 Apr 2021
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!