Out of memory gather()
1 回表示 (過去 30 日間)
古いコメントを表示
I am reading the documentation on this topic Deep Learning Denoise. After this line my computer is not responding.
[targets,predictors] = gather(targets,predictors);
Error: Out of memory.
I change number of dataset in this line to 300 and all works good
adsTrain = audioDatastore(fullfile(dataFolder,'train'),'IncludeSubfolders',true);
reduceDataset = true;
if reduceDataset
adsTrain = shuffle(adsTrain);
adsTrain = subset(adsTrain,1:1000); % to 300
end
but sometimes i get this Error.
How can I examine the entire dataset if it is really big (87000 files). Or at least 1000. I read the documentation about gather (), but I still don't understand how to get around this Error.
0 件のコメント
採用された回答
jibrahim
2021 年 4 月 23 日
Hi Maxim,
In many practical situations, your data might not all fit in memory. There is a modified workflow for that case. See, for example:
and
その他の回答 (1 件)
neal paze
2021 年 9 月 1 日
I also have a problem of gather in this document. Have you solved your problem? Can you share how to modify this line of code?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Measurements and Feature Extraction についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!