mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
ignoring dist parallel forward
This commit is contained in:
@@ -92,7 +92,6 @@ class LightningModule(GradInformation, ModelIO, ModelHooks):
|
||||
model_summary = ModelSummary(self)
|
||||
print(model_summary)
|
||||
|
||||
|
||||
def freeze(self):
|
||||
for param in self.parameters():
|
||||
param.requires_grad = False
|
||||
|
||||
Reference in New Issue
Block a user