Transfer Learning error when using @readFunctionTrain
3 ビュー (過去 30 日間)
古いコメントを表示
I get the following error when trying to use the line [trainingDS.ReadFcn = @readFunctionTrain;] in transfer learning.
Error using matlab.io.datastore.ImageDatastore/subsasgn (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.
0 件のコメント
回答 (2 件)
SALEM ALMARRI
2019 年 1 月 20 日
I was having the same error, and it was fixed when I downloaded the following https://www.mathworks.com/matlabcentral/mlc-downloads/downloads/submissions/62990/versions/3/download/zip
Or
Open Matlab > Apps > Get More Apps > DEEP LEARNING TUTORIAL > INSTALL
0 件のコメント
olivier kwekam
2020 年 11 月 24 日
This is a defined function created by the programmer. It can be found here under functions:
https://www.mathworks.com/matlabcentral/fileexchange/62990-deep-learning-tutorial-series#examples_tab
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!