Clear Filters
Clear Filters

VGGishPreprocess too many output arguments

2 views (last 30 days)
Hi, I'm trying to follow the documented tutorial on transfer learning audio with VGGish described here: https://uk.mathworks.com/help/audio/ref/vggish.html
It seems I'm unable to run the process, gaining the error "Error using vggishPreprocess Too many output arguments."
I'm copying the code verbatim from the site so am unable to understand what's going wrong here, would love some clarity on this, thank you!

Accepted Answer

Walter Roberson
Walter Roberson on 7 Apr 2022
When you use
openExample('deeplearning_shared/TransferLearningUsingVGGishExample')
then there is a function vggishPreprocess that is at the bottom of the .mlx file.
I speculate that you copied the code without that function instead of using openExample(). In such a case, you would be at risk of instead accidentally invoking the vggishPreprocess function that is part of the Audio System Toolbox.
  1 Comment
Joshua Gardner
Joshua Gardner on 7 Apr 2022
MY HERO
that's it yeah, seems a lot of those errors arise from functions that have the same name, thank you so much for your help !

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!