Errors with "Denoise Speech Using Deep Learning Networks" Example
    8 views (last 30 days)
  
       Show older comments
    
I was trying out the Denoise Speech Using Deep Learning Networks example without any modifications and I'm getting the following error:
Error using tall/gather (line 50)
An undefined function error was thrown on the workers for
'HelperGenerateSpeechDenoisingFeatures'.  The file containing
'HelperGenerateSpeechDenoisingFeatures' might not be available on the workers.  Specify the
required files for this parallel pool using the command: addAttachedFiles(pool, ...).  See the
documentation for parpool for more details.
Learn more about errors encountered during GATHER.
Error in DenoisingNN (line 240)
[targets,predictors] = gather(targets,predictors);
Caused by:
    Error using tall/cellfun (line 19)
    Undefined function 'HelperGenerateSpeechDenoisingFeatures' for input arguments of type
    'dsp.SampleRateConverter'.
I've ran this code sucessfully before but now I get this error everytime I run it. I've been looking at the referenced documentation but I was wondering if there's an easier way to fix this error? Thank you in advance.
1 Comment
Answers (4)
  Sherly Arunodhayamary
 on 10 Oct 2019
        This is because you are missing the matlab files in the current folder. 'HelperGenerateSpeechDenoisingFeatures' file need to placed in your working folder or your program have to be saved in the main matlab folder containing examples for denoising.
9 Comments
  Habib Sherkat
 on 30 Sep 2020
				
      Edited: Habib Sherkat
 on 30 Sep 2020
  
			add the folder of "DenoiseSpeechUsingDeepLearningNetworksExample" as a working directory.
The program is missing a function named:HelperGenerateSpeechDenoisingFeatures
  HONG CHENG
 on 18 Apr 2023
        I read the commets and find that one solution is “Just go through the call function in your program and check for all the files present in the call function. you might be missing some required files on your program folder. update and relax. u will get it. ”
So I tried that add the HelperGenerateSpeechDenoisingFeatures and the folder of it to the path, but it didn't work. Is there any idea?
0 Comments
  amina
 on 28 Nov 2023
        Bonjour tout le monde, 
comment vous avez pu regler se probleme svp. Error using tall/gather (line 50)
Unable to access intermediate data in the temporary folder, most likely because it ran out of space.
Clear space on the local drive, or avoid operations that reorder tall arrays (such as SORT or indexing
with a tall numeric column vector).
Learn more about errors encountered during GATHER.
Error in projet (line 124)
[targets,predictors] = gather(targets,predictors);
Caused by:
    Error in adding keys and values.
        Error during serialization
>> 
1 Comment
  yanzhang Geng
 on 25 Mar 2024
        I faced the same problem and solved now. Share my experence to all
add the command:
addpath('X:\USERNAME\Documents\MATLAB\Examples\R2023a(or your Matlab virsion)\deeplearning_shared\DenoiseSpeechUsingDeepLearningNetworksExample');
then the key function 
HelperGenerateSpeechDenoisingFeatures
will be find by the program
1 Comment
See Also
Categories
				Find more on AI for Signals in Help Center and File Exchange
			
	Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!