Skip to content

Commit

Permalink
[brief] Forgot to test if the custom schedulers were registered.
Browse files Browse the repository at this point in the history
[detailed]
- Accidentally deleted them when I updated the tests.
  • Loading branch information
marovira committed May 28, 2024
1 parent ee0ed5d commit b795831
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def test_registry(self, check_registry) -> None:
check_registry(
scheduler.SCHEDULER_REGISTRY,
[
# Pytorch schedulers.
"LambdaLR",
"MultiplicativeLR",
"StepLR",
Expand All @@ -20,6 +21,9 @@ def test_registry(self, check_registry) -> None:
"CyclicLR",
"OneCycleLR",
"CosineAnnealingWarmRestarts",
# Custom schedulers.
"MultiStepRestartLR",
"CosineAnnealingRestartLR",
],
)

Expand Down

0 comments on commit b795831

Please sign in to comment.