Describe the bug
after setting up the simple index.html using exported model, pressing "Start" button does nothing and produces an error:
Uncaught (in promise) Error: Unsupported URL scheme in metadata URL: ./my_model/metadata.json. Supported schemes are: http://, https://, and (node.js-only) file://
R https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
o https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
o https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
i https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
i https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
R https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
R https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
o https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
o https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
i https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
i https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
ensureMetadataLoaded https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
R https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
o https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
o https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
i https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
i https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
ensureModelLoaded https://cdn.jsdelivr.net/npm/@tensorflow-models/speech-commands@0.4.0/dist/speech-commands.min.js:17
createModel https://extraordinary-biscotti-27e6be.netlify.app/:37
init https://extraordinary-biscotti-27e6be.netlify.app/:43
onclick https://extraordinary-biscotti-27e6be.netlify.app/:1
To Reproduce
setup an audio model from teachable machine, i have 4 classes including background noise
after the training is done, export the model and setup simple html file using the code provided by teachable machine as follow:
Describe the bug after setting up the simple index.html using exported model, pressing "Start" button does nothing and produces an error:
To Reproduce