Errors with "Denoise Speech Using Deep Learning Networks" Example

2 vues (au cours des 30 derniers jours)
Wazzer
Wazzer le 11 Juil 2019
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.

Réponses (4)

Sherly Arunodhayamary
Sherly Arunodhayamary le 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 commentaires
Habib Sherkat
Habib Sherkat le 30 Sep 2020
Modifié(e) : Habib Sherkat le 30 Sep 2020
add the folder of "DenoiseSpeechUsingDeepLearningNetworksExample" as a working directory.
The program is missing a function named:HelperGenerateSpeechDenoisingFeatures
Hoang Thanh
Hoang Thanh le 11 Oct 2021
open the example in matlab and slove it.

Connectez-vous pour commenter.


HONG CHENG
HONG CHENG le 18 Avr 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?

amina
amina le 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
>>

yanzhang Geng
yanzhang Geng le 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

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by