-
Notifications
You must be signed in to change notification settings - Fork 19.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inputs has to be named after the first entry of the dict for models with multiple inputs #20036
Comments
=> |
Hi @henrysky - Keras 3.4.1 doesn't directly support dictionary input with model.fit, if the model has named inputs. More details on this you can find here.
|
This issue is stale because it has been open for 14 days with no activity. It will be closed if no further activity occurs. Thank you. |
Hi @henrysky - Does the issue is still reproduce to you ? |
The example by you has fixed the issue for me, thanks! |
Keras version: "3.4.1"
For model with multiple inputs, inputs has to be named after the first entry of the dictionary which I think is a bug.
Lets say I have a Keras model with two inputs named
a_name
andother_name
. Error will be raise if I try to train such model with those named inputsbut would be fine if their names are
a_name
anda_name_whatever
orother_name
andother_name_whatever
Here is a minimal example on Google Colab to demostrate the issue (https://colab.research.google.com/drive/1oJ5QGMYV7GlHimkquu1SJWd4vyn9-ok0?usp=sharing).
All cells work without raising error if I use Keras 3.3.3
The text was updated successfully, but these errors were encountered: