Skip to content

Commit

Permalink
Update val_check_interval default value in Engine (#2798)
Browse files Browse the repository at this point in the history
Update engine.py
  • Loading branch information
harimkang authored Jan 16, 2024
1 parent 26a429a commit 996c01e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/otx/engine/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def train(
seed: int | None = None,
deterministic: bool = False,
precision: _PRECISION_INPUT | None = "32",
val_check_interval: int | float | None = 1,
val_check_interval: int | float | None = None,
callbacks: list[Callback] | Callback | None = None,
logger: Logger | Iterable[Logger] | bool | None = None,
resume: bool = False,
Expand All @@ -141,7 +141,7 @@ def train(
seed (int | None, optional): The random seed. Defaults to None.
deterministic (bool | None, optional): Whether to enable deterministic behavior. Defaults to False.
precision (_PRECISION_INPUT | None, optional): The precision of the model. Defaults to 32.
val_check_interval (int | float | None, optional): The validation check interval. Defaults to 1.
val_check_interval (int | float | None, optional): The validation check interval. Defaults to None.
callbacks (list[Callback] | Callback | None, optional): The callbacks to be used during training.
logger (Logger | Iterable[Logger] | bool | None, optional): The logger(s) to be used. Defaults to None.
resume (bool, optional): If True, tries to resume training from existing checkpoint.
Expand Down

0 comments on commit 996c01e

Please sign in to comment.