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] Allow 0 to be passed as a config to print,write,plot,checkpoint_every and disable in that case #511

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

awennersteen
Copy link
Member

This can be desired behavior in some cases, and is perhaps a better behaviour than the current where we end up raising DivideByZero errors.

We can perhaps use the __post_int__ of the TrainConfig to do more validation here (like negative values), and print a warning?

Not sure what we think is best.

@awennersteen awennersteen self-assigned this Jul 25, 2024
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.

None yet

1 participant