Effacer les filtres
Effacer les filtres

VGGishPreprocess too many output arguments

2 vues (au cours des 30 derniers jours)
Joshua Gardner
Joshua Gardner le 7 Avr 2022
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!

Réponse acceptée

Walter Roberson
Walter Roberson le 7 Avr 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 commentaire
Joshua Gardner
Joshua Gardner le 7 Avr 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 !

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by