lobe/web-bootstrap

React project doesn't recognize the exported model

Opened this issue · 4 comments

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

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

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.

Did anyone find another solution?

Facing the same issue