"...git@developer.sourcefind.cn:OpenDAS/openpcdet.git" did not exist on "378593aca52e31a58cf1350454b818c588f05ef0"
Unverified Commit 30e051cf authored by Gustaf Ahdritz's avatar Gustaf Ahdritz Committed by GitHub
Browse files

Add missing cached_weights line

parent 14cce39a
...@@ -49,6 +49,8 @@ class OpenFoldWrapper(pl.LightningModule): ...@@ -49,6 +49,8 @@ class OpenFoldWrapper(pl.LightningModule):
model=self.model, decay=config.ema.decay model=self.model, decay=config.ema.decay
) )
self.cached_weights = None
def forward(self, batch): def forward(self, batch):
return self.model(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