You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw your blog post on using tensorflow with rust. I'm trying to use your code as a template and use this model instead. This is the .pb file I'm using from the repo.
(also I'm a beginner with rust and ml/tensorflow)
I am having trouble doing it which led me to a few questions:
How do you figure out the required inputs/parameters and their shape for a model?
The same for the outputs
if they're not well documented.
Thanks for your time!
The text was updated successfully, but these errors were encountered:
They have an example of listing inputs/outputs here.
$ saved_model_cli show --dir \
/tmp/saved_model_dir --tag_set serve --signature_def serving_default
The given SavedModel SignatureDef contains the following input(s):
inputs['x'] tensor_info:
dtype: DT_FLOAT
shape: (-1, 1)
name: x:0
The given SavedModel SignatureDef contains the following output(s):
outputs['y'] tensor_info:
dtype: DT_FLOAT
shape: (-1, 1)
name: y:0
Method name is: tensorflow/serving/predict
I saw your blog post on using tensorflow with rust. I'm trying to use your code as a template and use this model instead. This is the .pb file I'm using from the repo.
(also I'm a beginner with rust and ml/tensorflow)
I am having trouble doing it which led me to a few questions:
if they're not well documented.
Thanks for your time!
The text was updated successfully, but these errors were encountered: