From c59e376fe503f5ddae5cc1b2b830b4d94f46017d Mon Sep 17 00:00:00 2001 From: Boof <97455552+hexahigh@users.noreply.github.com> Date: Mon, 11 Sep 2023 11:40:58 +0200 Subject: [PATCH] fixed model? --- other/tensor/test1/script.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/other/tensor/test1/script.js b/other/tensor/test1/script.js index 178bd60..516cd07 100644 --- a/other/tensor/test1/script.js +++ b/other/tensor/test1/script.js @@ -6,13 +6,11 @@ async function createModel() { const checkpointURL = URL + "model.json"; // model topology - const metadataURL = URL + "metadata.json"; // model metadata const recognizer = speechCommands.create( "BROWSER_FFT", // fourier transform type, not useful to change undefined, // speech commands vocabulary feature, not useful for your models - checkpointURL, - metadataURL); + checkpointURL); // check that model and metadata are loaded via HTTPS requests. await recognizer.ensureModelLoaded();