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

Change Train_Manager.SaveModelHistory(tf.keras.callbacks.Callback) steps_per_epoch term #3

Open
johnypark opened this issue May 4, 2022 · 0 comments

Comments

@johnypark
Copy link
Owner

For learning rate schedulers, there is a code that requires steps_per_epoch entry. The current code looks like this:

extra_logs[hyperparam] = float(value((epoch+1) * self.config_info["steps_per_epoch"])) ## here replace with self.params.get('steps')

Replace this part with a call that enables to get the steps_per_epoch term. See if self.params.get("steps") works.

@johnypark johnypark changed the title Train_Manager.SaveModelHistory(tf.keras.callbacks.Callback) change steps_per_epoch term Change Train_Manager.SaveModelHistory(tf.keras.callbacks.Callback) steps_per_epoch term May 4, 2022
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

No branches or pull requests

1 participant