Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error load model #9

Open
vedmak3 opened this issue Dec 1, 2021 · 1 comment
Open

Error load model #9

vedmak3 opened this issue Dec 1, 2021 · 1 comment

Comments

@vedmak3
Copy link

vedmak3 commented Dec 1, 2021

http.js:209 Uncaught (in promise) Error: Failed to parse model JSON of response from ./best_web_model/model.json. Please make sure the server is serving valid JSON for this request.
at HTTPRequest._callee2$ (http.js:209)
at tryCatch (runtime.js:62)
at Generator.invoke [as _invoke] (runtime.js:288)
at Generator.prototype. [as throw] (runtime.js:114)
at asyncGeneratorStep (asyncToGenerator.js:3)
at _throw (asyncToGenerator.js:29)

@zldrobit
Copy link
Owner

zldrobit commented Dec 2, 2021

The output message is similar to the issue #7 and plz have a look at #7 (comment). After examining, a modification in src/index.js is found, and changing the const variable weights back by

const weights = '/web_model/model.json';

make the project work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants