Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

268
Vistas
How to load a Teachable Machine Audio Model from Project Files

I'm having trouble utilizing the Teachable Machine's audio model code snippet to create an offline model. I downloaded the metadata and model json's and would like to accomplish something similar to

async function createModel() {
       const checkpointURL = 'model.json'; // model topology
       const metadataURL = 'metadata.json'; // model metadata
       const recognizer = await speechCommands.create('model.json', 'metadata.json');
       return recognizer;
   }

where you'd usually put both links to the files as arguments to the create() method. I saw a post extremely similar to my issue, but it was for the pose teachable machine model and I can't seem to find a similar load() function in the audio model's speech-commands' script that would allow me to get these files from local storage.

about 4 years ago · Santiago Gelvez
1 Respuestas
Responde la pregunta

0

Found it. Just prepend file:// to the json's directories.

about 4 years ago · Santiago Gelvez Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda