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

Update optimizer path #26

Merged
merged 3 commits into from
Nov 7, 2024
Merged

Update optimizer path #26

merged 3 commits into from
Nov 7, 2024

Conversation

mikivee
Copy link
Collaborator

@mikivee mikivee commented Nov 7, 2024

Tiny modification to the path to the Adam optimizer which fixed the issue of deserializing a tf==2.14.1 model on a mac with an M1 chip. This is needed to make this PR work, which is currently running inference with a test model using this new optimizer path. I will kick off a full retraining run now with this fix.

Issue and solution described here.

@vengroff
Copy link
Contributor

vengroff commented Nov 7, 2024

Good catch. The only change I would make is that I would put a reference to the ikeras ssue in a comment right above the changed line in the code, and not just in the description in this PR, so it will be more obvious to future readers of the code why it was done that way.

@mikivee mikivee requested a review from vengroff November 7, 2024 16:05
Copy link
Contributor

@vengroff vengroff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mikivee mikivee merged commit 4acf8f1 into main Nov 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants