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

Add verbose option. #116

Merged
merged 1 commit into from
Oct 12, 2022
Merged

Add verbose option. #116

merged 1 commit into from
Oct 12, 2022

Conversation

daniel-dodd
Copy link
Member

@daniel-dodd daniel-dodd commented Sep 20, 2022

Simple implementation of verbosity option #115 .

Tests don't check if this works or not, but only if any error occurs when turning verbosity on/off.

Training loops tests have been updated to ensure testing of edge case of a single iteration.

@@ -175,6 +178,7 @@ def fit_batches(
batch_size: int,
n_iters: Optional[int] = 100,
log_rate: Optional[int] = 10,
verbose: Optional[bool] = True,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you think defaulting to True is sensible? I can see benefits for defaulting to False or True, but the former feels less invasive? Keen to get your thoughts though.

Copy link
Collaborator

@thomaspinder thomaspinder left a comment

Choose a reason for hiding this comment

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

My only comment is regarding the verbosity argument's default value. I have no strong feelings but I am curious to hear your thoughts.

@thomaspinder thomaspinder marked this pull request as ready for review October 12, 2022 21:48
@thomaspinder thomaspinder merged commit bb26a8e into v0.5_update Oct 12, 2022
@thomaspinder thomaspinder deleted the Verbose_training_loops branch October 12, 2022 21:49
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