Is this the part of code to load the model in Mobilenet example ?

507 views
Skip to first unread message

Rahmat Firman

unread,
May 30, 2018, 10:27:50 PM5/30/18
to TensorFlow.js Discussion

Is this the part of code to load the model in Mobilenet example project ?





If yes.  I have downloaded the model.json and I reupload to my Google Cloud and replace the url in that picture. Just want to testing, but I really don't know what's going on, the same model, I'm just reupload it but how can ones didn't work ? 

Thanks.  

Daniel Smilkov

unread,
Jun 4, 2018, 8:20:14 PM6/4/18
to Rahmat Firman, TensorFlow.js Discussion
Hi Rahman,

Looks like model_b.json is a weight manifest file, while model.json that's on Google Cloud is the actual model file that contains the hierarchy. Perhaps you copy-pasted the wrong file?

Daniel


--
You received this message because you are subscribed to the Google Groups "TensorFlow.js Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tfjs+uns...@tensorflow.org.
Visit this group at https://groups.google.com/a/tensorflow.org/group/tfjs/.
To view this discussion on the web visit https://groups.google.com/a/tensorflow.org/d/msgid/tfjs/70323d7e-830d-4d9a-9e01-3e56df2e0147%40tensorflow.org.

Ping Yu

unread,
Jun 5, 2018, 1:36:43 PM6/5/18
to Daniel Smilkov, Rahmat Firman, TensorFlow.js Discussion
Reply all
Reply to author
Forward
0 new messages