Error using parallel.F​uture/fetc​hOutputs in Denoise Speech Using Deep Learning Networks Example

17 ビュー (過去 30 日間)
Hello everyone,
I am trying to run the Matlab example to Denoise Speech Using Deep Learning Networks but I keep receiving an error at this line:
[targets,predictors] = gather(targets,predictors);
This line is expected to Use gather to evaluate the targets and predictors.
Although the tall expression is 100% being evaluated using the Parallel Pool, it still spits out some errors after evalutation.
Here's the full output when running the above line:
Evaluating tall expression using the Parallel Pool 'local':
- Pass 1 of 1: Completed in 4 min 31 sec
Evaluation 100% complete
Error Output:
Error using parallel.Future/fetchOutputs (line 346)
Internal problem while evaluating tall expression. The problem was:
One or more futures resulted in an error.
Error in parallel.internal.bigdata.ParallelPoolBroadcastMap>iRunOnAll (line 150)
[varargout{1:nargout}] = fetchOutputs(f);
Error in parallel.internal.bigdata.ParallelPoolBroadcastMap/synchronizeWorkerBroadcasts (line 112)
[newWorkerKeys, newWorkerValues] = iRunOnAll(@obj.getBroadcasts, keys);
Error in ...
Error in tall/gather (line 50)
[varargout{:}, readFailureSummary] = iGather(varargin{:});
I am using Matlab R2019a Update 9.
Does anyone know what I am possibly doing wrong?
  2 件のコメント
Kojiro Saito
Kojiro Saito 2021 年 7 月 29 日
It seems the same problem as this. You might get out of memory error. What is RAM size of your computer?

サインインしてコメントする。

採用された回答

Kojiro Saito
Kojiro Saito 2021 年 7 月 30 日
It might be out of memory error.
tall array can handle big data, but as tall/gather document says,
"MATLAB® can run out of memory if the result of the gather calculation is too large."
In this example, when I placed a break point after gather command, 7.4GB memory is occupied by MATLAB. 6.6 GB is used for MATLAB desktop process and other memories are used by Parallel workers.
So, 8GB RAM is not enough for executing this example.
I think there are two solutions.
  • Try it on another machine which has more RAM.
  • Reduce the audio files which were unzipped in tempdir\commonvoice (in Windows, it would be C:\Users\USERNAME\AppData\Local\Temp\commonvoice).
  7 件のコメント
studentmatlaber
studentmatlaber 2022 年 2 月 15 日
@Kojiro Saito I have 16gb of RAM. So I won't be able to run this code?
Daniel Graham
Daniel Graham 2022 年 2 月 16 日
編集済み: Daniel Graham 2022 年 2 月 16 日
I don't think so @studentmatlaber.
But just try

サインインしてコメントする。

その他の回答 (1 件)

amina
amina 2023 年 11 月 29 日
svp comment vous avez fait pour reduire la taille, j'ai le meme probleme et j'essai de trouver une methode pour reduire les fichiers audio . aidez moi svp !

カテゴリ

Help Center および File ExchangeMultirate Signal Processing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by