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

Fix ema #883

Merged
merged 2 commits into from
Nov 24, 2020
Merged

Fix ema #883

merged 2 commits into from
Nov 24, 2020

Conversation

fsx950223
Copy link
Collaborator

No description provided.

@google-cla google-cla bot added the cla: yes CLA has been signed. label Nov 24, 2020
from tensorflow_addons.callbacks import AverageModelCheckpoint
avg_callback = AverageModelCheckpoint(
filepath=os.path.join(params['model_dir'], 'ckpt'),
verbose=1,
save_weights_only=True,
update_weights=True)
update_weights=False)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fix performance issue by set update_weights to False.

@mingxingtan
Copy link
Member

Looks great. Thank you, @fsx950223 !

@fsx950223 fsx950223 merged commit c4fb2f9 into google:master Nov 24, 2020
@dathudeptrai
Copy link

@fsx950223 Hi, can you explained why Fix performance issue by set update_weights to False.?

glenvorel pushed a commit to glenvorel/automl that referenced this pull request Apr 14, 2021
* fix ema

* update README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes CLA has been signed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants