lobe / web-bootstrap

Bootstrap your Lobe machine learning model with our web starter project.
https://lobe.ai
MIT License
74 stars 31 forks source link

Don't work with a project from lobe, but work from Google Teachable Machine only #13

Closed marcbuils closed 3 years ago

marcbuils commented 4 years ago

Hi, I tested this project, but I can't genarate compatible files from MS Lobe. But I tested with an export from Google Teachable Machine and this works very well.

Steps :

Actual result :

Expected result :

My usage of tensorflowjs_converter is may be bad ?

KartoffelToby commented 4 years ago

Same here, im confused.

slava554 commented 4 years ago

it looks like teachablemachine/image requires model in tfjs_layers_model format, but I have not find any way to convert exported model in tf_saved_model to it. I have tried to use tfjs_graph_model with tensorflow.js directly, but have failed (Argument 'x' passed to 'gather' must be numeric tensor, but got string tensor).

KartoffelToby commented 4 years ago

i can reproduce this error, with tfjs-node and the direct saved model its kind of work but i got wrong results.

i requested allready a tensorflow js Export direct from the lobe App #14

adammenges commented 4 years ago

Thanks for this! We're looking into what's going on now. 😄

ohjs88 commented 4 years ago

Is there an update on this?

mbeissinger commented 3 years ago

Fixed with #17