-
Notifications
You must be signed in to change notification settings - Fork 30
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
Failed to parse model JSON #7
Comments
@krushal-kyada Hi! Could you confirm the web of this repo works correctly in a browser? Could you provide a minimal reproducible example? From the messages above, you are calling the web application by an HTTP JSON method, but I am afraid that the web application of this repo does not provide an HTTP JSON interface. |
Hi, I have just cloned the repo and trying to run that. Let me know if I am missing out on anything. Thanks. |
From the messages you provided, there seems to be no errors. Could you provide the output message from terminal after the command |
Hi I have not made any changes to the code file. Below is my project structure,
Thanks |
Hi. |
Please share more messages to find the cause of the problem:
|
Hi Output for the following command :
this command gives the content of the model.json file. Looking at the response of curl http://localhost:3000/tfjs-yolov5-example/web_model/model.json I have updated the index.js.
instead of
And i was able to run the project, Is this a correct way to load the weights? Thanks Krushal Kyada |
Yes, that's the right way to load weights. As I remember, it's also the original code in this repo. You're welcome :D |
Thanks a lot. |
Hi!
I'm getting Error as Unhandled Rejection (Error): Failed to parse model JSON on this repo example.
Can please help me fix it.?
I don't have experience working with JS if some can provide steps to fix it will be helpful.
Thnks
The text was updated successfully, but these errors were encountered: