Transfer Learning error when using @readFunctionTrain

14 views (last 30 days)
I get the following error when trying to use the line [trainingDS.ReadFcn = @readFunctionTrain;] in transfer learning.
Error using (line 196) Function readFunctionTrain does not exist.
How to solve this?I tried this code [trainingDS.ReadFcn = @(filename)readFunctionTrain(filename);] but it didn't solve the problem.

Answers (2)

SALEM ALMARRI on 20 Jan 2019
I was having the same error, and it was fixed when I downloaded the following
Open Matlab > Apps > Get More Apps > DEEP LEARNING TUTORIAL > INSTALL

olivier kwekam
olivier kwekam on 24 Nov 2020
This is a defined function created by the programmer. It can be found here under functions:


Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by