-
Notifications
You must be signed in to change notification settings - Fork 19.5k
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
autoencoder.fit() raises 'KeyError: 'Exception encountered when calling Functional.call()' #20715
Comments
Hi @albas99 - Thanks for reporting the issue. Here in your code some values like
Also while creating Changing this
to
Attached gist here for reference. |
Thank for the response @mehtamansi29 , yeah the issue turned out to be not replacing |
Hi @albas99 - Thanks. As issue is resolved then this issue. If anything more related to this issue then feel free to reopen this issue. |
I'm trying to build a stacked LSTM sequence auto-encoder that takes a signal of 430 timesteps with each timestep having 1 value. You can see the code for the model below:
When I run
autoencoder.summary()
I get the model summary just fine but when I runautoencoder.fit()
I get the following error:I've reshaped my dataset already to (batch, timesteps, feature) and when I try the code below adapted from the original keras tutorial on building autoencoders, it works, just that the train and validation loss start giving
NaN
values after a number of epochs.Has anyone encountered a similar error and fixed it? I'd love to get some help on this. Thanks in advance.
The text was updated successfully, but these errors were encountered: