Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

267
Visualizações
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 Respostas
Responde à pergunta

0

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

about 4 years ago · Santiago Gelvez Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda