-
Notifications
You must be signed in to change notification settings - Fork 225
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
Error on model.summary() with PaliGemma #1654
Comments
cc: @mattdangerw |
This is a semantic issue.
@property
def weights(self):
weights = []
return weights IMO this solution is not semantically correct because weights for an operation don't make any sense. Or an alternative solution could be to wrap the Finally this issue should be moved in |
Thanks @miticollo. Agreed, this should move to the Could we just have Not sure if anything would break, but we could try it out. @miticollo are you interested in taking it on? |
Thank u for the answer! At the moment I'm a bit busy with the latest exams at University (one is on Deep Learning). So I can't do it. |
@miticollo good point. Perhaps? Still rubs me the wrong way that For now I will open a bug in core Keras, assign to myself, and mark open for contributions. |
Describe the bug
model.summary() for PaliGemma will fail when passing
show_trainable=True
Works fine without the parameter.
Below is an actual error message.
To Reproduce
https://colab.research.google.com/drive/1o04v1Xok9892KC-TUOuYh8ToU2wY8RPY?usp=sharing
Expected behavior
Display the model summary with Trainable info.
Additional context
N/A
Would you like to help us fix it?
Sure
The text was updated successfully, but these errors were encountered: