Vojtech Bardiovsky
Vojtech Bardiovsky
TensorFlow Hub's new format is now indeed the SavedModel 2.0 built into core TF2. Some modules can be already loaded by tf.saved_model.load (example: https://tfhub.dev/google/tf2-preview/mobilenet_v2/classification/2). Far from all of the modules...
Ok, found a solution. For future reference and for those who are trying to build the package themselves with bazel. To solve the "missing op_list" error, before `bazel build`, run:...
Hi Ping, a couple of observations: 1. https://tfhub.dev/google/universal-sentence-encoder/3 is a standard TF2.0 SavedModel. It does contain functions but that's expected. The code is even taking the convert_tf_saved_model path and this...
> ...are there any known differences between TFHub 2.0 module vs TF 2.0 saved model? No, there is no difference between those too. Actually it is easy to verify that...
It is actually a bit more complicated. If you provide a name, you can lookup a polymorphic function which is a TF2.0 concept representing multiple traces (concrete functions) of the...
Not sure what's going on there with the saved_model_cli, my guess is an old version of TF. Worked for me with `pip install tensorflow==1.15`. > Kinda annoying that there's no...
Hi @samitshah, can you please show the code that built the predict request? There could actually be an issue there.
Yes, exactly. It's also new for me, but "instances" expects a list of instances, which it batchifies together, so after providing only one instance, this: ``` qsph_v: [1394, 920, 2683],...
I think the documentation is good enough :)