Out of memory gather()

조회 수: 1 (최근 30일)
Maxim Rozhkov
Maxim Rozhkov 2021년 4월 23일
답변: neal paze 2021년 9월 1일
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.

채택된 답변

jibrahim
jibrahim 2021년 4월 23일
  댓글 수: 1
Maxim Rozhkov
Maxim Rozhkov 2021년 4월 24일
jibrahim, thank you

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

neal paze
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?

카테고리

Help CenterFile Exchange에서 Measurements and Feature Extraction에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by