-
Notifications
You must be signed in to change notification settings - Fork 10
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
AttributeError: 'tuple' object has no attribute 'shape' when trying to run #2
Comments
full output: File ~\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\keras\utils\traceback_utils.py:67, in filter_traceback..error_handler(*args, **kwargs) File ~\AppData\Local\Temp_autograph_generated_file3lnwlhct.py:15, in outer_factory..inner_factory..tf__train_function(iterator) AttributeError: in user code:
|
I resolve this issue by modifying the lstm_model.fit(x=[training_encoder_input, training_decoder_input], y=[training_decoder_output],
validation_data=([validation_encoder_input, validation_decoder_input], [validation_decoder_output]),
batch_size=64, epochs=100) To: 👍🏻 ✅ lstm_model.fit(x=[training_encoder_input, training_decoder_input], y=training_decoder_output,
validation_data=([validation_encoder_input, validation_decoder_input], validation_decoder_output),
batch_size=64, epochs=100) |
it wont work no matter how many times i try i still get the same error: AttributeError: 'tuple' object has no attribute 'shape'
The text was updated successfully, but these errors were encountered: