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

React project doesn't recognize the exported model #28

Open
rczalez opened this issue Sep 14, 2022 · 4 comments
Open

React project doesn't recognize the exported model #28

rczalez opened this issue Sep 14, 2022 · 4 comments

Comments

@rczalez
Copy link

rczalez commented Sep 14, 2022

Hello, after replacing the template's files in the model folder I got this error. I'm using the latest version of Lobe: 0.11.714.2. I Can't figure out what could be the issue, any idea?
Screen Shot 2022-09-13 at 19 06 53

@stone-skipper
Copy link

I'm experiencing the same. Have you found the solution, by any chance?

@hksamwan
Copy link

I am encountering a similar problem, I found that it may be due to the type of AI model used being layer models instead of graph models. Therefore, I tried to export the AI file in lobe.ai again with the TensorFlow format, then follow the instruction here: https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to convert the TensorFlow SavedModel to TensorFlow.js graph_model and do the replacing of the template file over again. It works! Hope that might help you.

@rataprens
Copy link

Did anyone find another solution?

@isaacwritescode
Copy link

Facing the same issue

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

5 participants