This message was deleted.
# ask-for-help
s
This message was deleted.
m
And here's my error:
Copy code
ValueError: Could not find matching concrete function to call loaded from the SavedModel. Got:
  Positional arguments (3 total):
    * [[<tf.Tensor 'inputs:0' shape=(1, 64, 64, 3) dtype=float32>,
  <tf.Tensor 'inputs_1:0' shape=(1, 64, 64, 3) dtype=float32>]]
    * False
    * None
  Keyword arguments: {}

 Expected these arguments to match one of the following 4 option(s):

Option 1:
  Positional arguments (3 total):
    * [TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='image_color'),
 TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='image_depth')]
    * False
    * None
  Keyword arguments: {}

Option 2:
  Positional arguments (3 total):
    * [TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='inputs/0'),
 TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='inputs/1')]
    * False
    * None
  Keyword arguments: {}

Option 3:
  Positional arguments (3 total):
    * [TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='inputs/0'),
 TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='inputs/1')]
    * True
    * None
  Keyword arguments: {}

Option 4:
  Positional arguments (3 total):
    * [TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='image_color'),
 TensorSpec(shape=(None, None, None, 3), dtype=tf.float32, name='image_depth')]
    * True
    * None
  Keyword arguments: {}
What am I doing wrong here?
(Sorry if this is a stupid question, but I couldn't find anything about mutli input models)
I've also validated that the json serialization/deserialization is working correctly i.e.
image_color
and
image_depth
tensors are created correctly (data-wise).
s
It looks like your model expects a 1d array but you're passing a 2d array, can you try removing the extra brackets?