fixed hooks

This commit is contained in:
William Falcon
2019-04-21 14:16:54 -04:00
parent 4b0b7e5ea3
commit 333f0fde9b
+1 -1
View File
@@ -86,7 +86,7 @@ class Trainer(TrainerIO):
self.test_percent_check = overfit_pct
def __is_function_implemented(self, f_name):
f_op = getattr(self, f_name, None)
f_op = getattr(self.model, f_name, None)
return callable(f_op)
@property