Skip to content
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

Explicitly disallow Keras 3. #7

Merged
merged 13 commits into from
Aug 8, 2024
Merged

Explicitly disallow Keras 3. #7

merged 13 commits into from
Aug 8, 2024

Conversation

psobot
Copy link
Member

@psobot psobot commented Aug 8, 2024

The dynamic kwarg is present in Keras 2, but gone in Keras 3. We set dynamic=False in the initializers for Stft and Istft, which prevents them from running in Keras 3; but False is the default anyways, so this should have no impact.

Also, Keras 3 doesn't yet support complex64 datatypes, which we use a lot in Realbook. For now, we pin to TF<2.16 to avoid the Keras 3 incompatibilities.

@psobot psobot added the bug Something isn't working label Aug 8, 2024
@psobot psobot requested a review from drubinstein August 8, 2024 15:20
@psobot psobot changed the title Remove dynamic=False when initializing Stft and Istft layers. Explicitly disallow Keras 3. Aug 8, 2024
@psobot psobot merged commit b021d6f into main Aug 8, 2024
24 checks passed
@psobot psobot deleted the psobot/no-dynamic branch August 8, 2024 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants