-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Keras 3 migration #1716
base: master
Are you sure you want to change the base?
Keras 3 migration #1716
Conversation
Let's checkout the model summary to have a better insight on the model. | ||
|
||
|
||
```python | ||
model.summary() | ||
``` | ||
|
||
<div class="k-default-codeblock"> | ||
``` | ||
Model: "model" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This summary is the old style summary. The example was converted to Keras 3 already, and now it seems to run on Keras 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Surprising that it is using Keras 2, the issue reported here has some problem with the plot model rendering #1713, and the original PR created in keras_core does not seem to have migrated to Keras 3 keras-team/keras-core#884
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to pip install keras --upgrade
in your environment before generating the files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was keras_nlp which was installing keras 2 in the script, I removed that part and generated files again.
``` | ||
</div> | ||
5/183 [..............................] - ETA: 43:54 - loss: 1.3896 - accuracy: 0.2000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's still using Keras 2.
Make sure to install keras 3 after everything else is installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's still using Keras 2.
Make sure to install keras 3 after everything else is installed.
Hi @sachinprasadhs Any update on this PR? Please. Thank you!
No description provided.