--
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/CAHDLJmXsZj2XX9dLH%2BZMet3VJoVvTtmZ6gvoj3merBr1zM06Lg%40mail.gmail.com.
Hi LarryIf you have tensorflow 1.13 already installed, you might have issue using the tfjs 1.0.x pip converter.Since the new tfjs pip uses TF 2.0 nightly, you might end up having two versions of TF.If you can, please create a new virtualenv, then install the 1.0.x tfjs converter in that, and try torun the command again.Please let me know if this issue persists.ThanksPing
On Mon, Apr 1, 2019 at 1:45 PM Nikhil Thorat <nsth...@google.com> wrote:
On Mon, Apr 1, 2019 at 3:49 PM 'Larry Lindsey' via TensorFlow.js Discussion <tf...@tensorflow.org> wrote:
--Apologies if this isn't the ideal forum for this question - if so, please direct me to the correct one. TL;DR, I've built tensorflowjs_converter from source and am attempting to convert a SavedModel for use with tf.js.Running this command:tensorflowjs_converter --input_format=tf_saved_model --output_format=tfjs_graph_model \--saved_model_tags=serve tfjs_model_test1 tfjs_model_test1.jsResults in the following error:2019-04-01 12:38:18.798130: E tensorflow/core/grappler/grappler_item_builder.cc:636] Init node layer1/kernel/Assign doesn't exist in graphI suspect that I'm holding it wrong, in which case, would someone correct me? In particular, the version I'd used previously (version 0.8, installed via pip) was able to convert this kind of model without issue.Here's the detailed background: In Python, I'm using Tensorflow version 1.13.1, and I've compiled the converter at github HEAD (currently commit 57ba1a5f6e). I'm using recent sources because I have models that make use of ops that don't work with the previous release - at least one is implemented in a pull request that has yet to be merged (conv3d conversion). That said, for simplicity's sake, I'm using just a handful of conv2d layers for my current experiment.Thanks for any help!Larry
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 tf...@tensorflow.org.
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/fe6f926a-195e-4f4d-8dd6-48cf9fee3442%40tensorflow.org.