Errors with "Denoise Speech Using Deep Learning Networks" Example

2 次查看(过去 30 天)
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.

回答(4 个)

Sherly Arunodhayamary
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 个评论
Habib Sherkat
Habib Sherkat 2020-9-30
编辑:Habib Sherkat 2020-9-30
add the folder of "DenoiseSpeechUsingDeepLearningNetworksExample" as a working directory.
The program is missing a function named:HelperGenerateSpeechDenoisingFeatures

请先登录,再进行评论。


HONG CHENG
HONG CHENG 2023-4-18
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?

amina
amina 2023-11-28
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
>>

yanzhang Geng
yanzhang Geng 2024-3-25
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

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by