Unrecognized keyword arguments passed to Model

hello all, i got this error in one of my file. please help me to figure it out.

ValueError: Unrecognized keyword arguments passed to Model: {‘input’: <KerasTensor shape=(None, 128, 128, 3), dtype=float32, sparse=None, name=keras_tensor>, ‘output’: <KerasTensor shape=(None, 2), dtype=float32, sparse=False, name=keras_tensor_26>}

1 Like

Hi @KULBUSHAN ,

Welcome To the TensorFlow Forum .

Could you Let us know which version of Tensorflow you are using and also please share your Standalone Code ?

Thank You !

1 Like

I get that error using input and output, but disappears using inputs and outputs (i.e both in plural, with an s at the end.)

Quite annoying that it does not show typehints, I don’t know why.