remove summary

This commit is contained in:
William Falcon
2019-12-11 06:23:21 -08:00
parent e8fb2fc111
commit 84c23d3a1d
+1 -1
View File
@@ -470,7 +470,7 @@ class Trainer(TrainerIOMixin,
if self.proc_rank == 0 and self.weights_summary is not None:
if self.weights_summary in ['full', 'top']:
pass
# ref_model.summarize(mode=self.weights_summary)
ref_model.summarize(mode=self.weights_summary)
else:
m = "weights_summary can be None, 'full' or 'top'"
raise MisconfigurationException(m)