When I'm trying to run the test script it gives the following error:
ValueError: Layer sequential expects 1 inputs, but it received 2 input tensors. Inputs received: [<tf.Tensor 'IteratorGetNext:0' shape=(None, 128, 128, 3) dtype=float32>, <tf.Tensor 'IteratorGetNext:1' shape=(None, 128, 128, 1) dtype=float32>]
I don't understand where it comes from, since the cmp_model.predict([inputs, masks]) works fine in the train file. I have made no alteration to the code. I hope you can help me!
Hi,
When I'm trying to run the test script it gives the following error:
ValueError: Layer sequential expects 1 inputs, but it received 2 input tensors. Inputs received: [<tf.Tensor 'IteratorGetNext:0' shape=(None, 128, 128, 3) dtype=float32>, <tf.Tensor 'IteratorGetNext:1' shape=(None, 128, 128, 1) dtype=float32>]
I don't understand where it comes from, since the cmp_model.predict([inputs, masks]) works fine in the train file. I have made no alteration to the code. I hope you can help me!