I am getting error in "Denoise Speech Using Deep Learning Network" example?
Mostrar comentarios más antiguos
exampe = https://www.mathworks.com/help/deeplearning/ug/denoise-speech-using-deep-learning-networks.html
I am getting the first error here. I am making this example using TIMIT data. The sounds in TIMIT are 16kHz and I want it to stay that way. But here it says it needs to be converted from 48kHz to 8kHz. How can I customize this? I'm putting the error below.
src = dsp.SampleRateConverter("InputSampleRate",inputFs, ...
"OutputSampleRate",fs, ...
"Bandwidth",7920);
audio = read(adsTrain);
decimationFactor = inputFs/fs;
L = floor(numel(audio)/decimationFactor);
audio = audio(1:decimationFactor*L);
audio = src(audio);
reset(src)
Error
Unable to load bundle binary
D:\bin\win64\builtins\shared_system_coreblocks\mwsystemobject_coreblocksmcos_builtinimpl.dll. Error: 126: not
connected
This is the second error I got. I have no idea why it happens how can I fix this error?
reset(adsTrain)
T = tall(adsTrain)
[targets,predictors] = cellfun(@(x)HelperGenerateSpeechDenoisingFeatures(x,noise,src),T,"UniformOutput",false);
[targets,predictors] = gather(targets,predictors);
predictors = cat(3,predictors{:});
noisyMean = mean(predictors(:));
noisyStd = std(predictors(:));
predictors(:) = (predictors(:) - noisyMean)/noisyStd;
targets = cat(2,targets{:});
cleanMean = mean(targets(:));
cleanStd = std(targets(:));
targets(:) = (targets(:) - cleanMean)/cleanStd;
predictors = reshape(predictors,size(predictors,1),size(predictors,2),1,size(predictors,3));
targets = reshape(targets,1,1,size(targets,1),size(targets,2));
inds = randperm(size(predictors,4));
L = round(0.99 * size(predictors,4));
trainPredictors = predictors(:,:,:,inds(1:L));
trainTargets = targets(:,:,:,inds(1:L));
validatePredictors = predictors(:,:,:,inds(L+1:end));
validateTargets = targets(:,:,:,inds(L+1:end));
ERROR
Evaluating tall expression using the Local MATLAB Session:
- Pass 1 of 1: 0% complete
Evaluation 0% complete
Error using tall/cellfun (line 19)
Unrecognized function or variable 'noise'.
Learn more about errors encountered during GATHER.
Error in tall/gather (line 50)
[varargout{:}, readFailureSummary] = iGather(varargin{:});
PLEASE HELP ME
1 comentario
studentmatlaber
el 15 de Feb. de 2022
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!