fix 2333 (#2360)
This commit is contained in:
parent
f2710bb500
commit
d22181714a
|
@ -1193,7 +1193,8 @@ class Trainer(
|
|||
|
||||
self.teardown('test')
|
||||
if self.is_function_implemented('teardown'):
|
||||
self.model.teardown('test')
|
||||
model_ref = self.get_model()
|
||||
model_ref.teardown('test')
|
||||
|
||||
def check_model_configuration(self, model: LightningModule):
|
||||
r"""
|
||||
|
|
Loading…
Reference in New Issue