Waveform Segmentation Using Deep Learning: Error on getmask
古いコメントを表示
We are implementing it as described in [Waveform Segmentation Using Deep Learning].
I get an error in the following process and cannot proceed.
type getmask.m
trainDs = transform(trainDs, @getmask);
testDs = transform(testDs, @getmask);
The error statement is as follows
Error: nargin
The function getmask does not exist.
Error: matlab.io.datastore.(148)
tFuncArgs = nargin(fun);
Error:matlab.io.datastore.internal.buildTransformedDatastore(line 65)
tds =
matlab.io.datastore.TransformedDatastore(datastores,
fcn, ...
Error: matlab.io.Datastore/transform (line 359)
dsnew =
matlab.io.datastore.internal.buildTransformedDatastore(varargin{:});
Error: segmentation_default (line 30)
trainDs = transform(trainDs, @getmask);
2 件のコメント
Star Strider
2020 年 12 月 1 日
What MATLAB release/version are you running?
The current online documentation is for R2020b, so if you are running an earlier version, it may not apply, and you may not be able to use all the examples in the online documentation. (I am not certain when the Waveform Segmentation Using Deep Learning Example first appeared, so I cannot determine the first release/version that will work with it.)
優哉 山口
2020 年 12 月 1 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で AI for Signals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!