Unverified Commit 30e051cf authored by Gustaf Ahdritz's avatar Gustaf Ahdritz Committed by GitHub
Browse files

Add missing cached_weights line

parent 14cce39a
......@@ -48,6 +48,8 @@ class OpenFoldWrapper(pl.LightningModule):
self.ema = ExponentialMovingAverage(
model=self.model, decay=config.ema.decay
)
self.cached_weights = None
def forward(self, batch):
return self.model(batch)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment