You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model.predict will give the same exact result no matter the input. I have done simple examples to just echo back the input where input and output are the same and still can't get it to have an accuracy above 76% then when model is verified at the end it will output the same result no matter the input. I finally just downloaded the tutorial code without modification and it too gives the same output no matter the input.
Standalone code to reproduce the issue or tutorial link
-
Input sentence: Go.
Decoded sentence: Je suis prêt.
-
Input sentence: Go.
Decoded sentence: Je suis prêt.
-
Input sentence: Go.
Decoded sentence: Je suis prêt.
-
Input sentence: Go.
Decoded sentence: Je suis prêt.
-
Input sentence: Hi.
Decoded sentence: Je suis prêt.
-
Input sentence: Hi.
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run!
Decoded sentence: Je suis prêt.
-
Input sentence: Run.
Decoded sentence: Je suis prêt.
-
Input sentence: Run.
Decoded sentence: Je suis prêt.
-
Input sentence: Run.
Decoded sentence: Je suis prêt.
-
Input sentence: Run.
Decoded sentence: Je suis prêt.
-
Input sentence: Run.
Decoded sentence: Je suis prêt.
-
Input sentence: Run.
Decoded sentence: Je suis prêt.
The text was updated successfully, but these errors were encountered:
I have tested it with the latest version of Keras (3.4.1) and it seems to preform better. The output is not the same as the code lab but it is at least giving different outputs for different inputs. Keras 3.4.1 is working good for the actual project I am working on with this code which is transforming Messoritic Hebrew Text into Dead Sea Scroll Hebrew i.e. (transform אֱלֹהֵ֖ינוּ to אלוהינו)
Issue Type
Bug
Source
source
Keras Version
Keras 3.3.3
Custom Code
No
OS Platform and Distribution
macOS 14.5
Python version
3.11.9
GPU model and memory
Apple M1
Current Behavior?
model.predict will give the same exact result no matter the input. I have done simple examples to just echo back the input where input and output are the same and still can't get it to have an accuracy above 76% then when model is verified at the end it will output the same result no matter the input. I finally just downloaded the tutorial code without modification and it too gives the same output no matter the input.
Standalone code to reproduce the issue or tutorial link
Relevant log output
The text was updated successfully, but these errors were encountered: