Skip to content

Commit

Permalink
Update test_finetune
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHedegaard committed Apr 17, 2023
1 parent dfdc2e8 commit c4a7a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_finetune.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from ride.core import RideModule
from ride.finetune import Finetunable
from ride.optimizers import AdamWCyclicLrOptimizer
from ride.optimizers import SgdReduceLrOnPlateauOptimizer
from ride.utils.checkpoints import get_latest_checkpoint
from ride.utils.utils import AttributeDict

Expand All @@ -20,7 +20,7 @@


class DummyModule(
RideModule, Finetunable, DummyRegressionDataLoader, AdamWCyclicLrOptimizer
RideModule, Finetunable, DummyRegressionDataLoader, SgdReduceLrOnPlateauOptimizer
):
def __init__(self, hparams):
self.l1 = torch.nn.Linear(self.input_shape[0], self.hparams.hidden_dim)
Expand Down

0 comments on commit c4a7a42

Please sign in to comment.