We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b028139 commit 58d52c2Copy full SHA for 58d52c2
docs/Trainer/Training Loop.md
@@ -35,15 +35,22 @@ early_stop_callback = EarlyStopping(
35
mode='min'
36
)
37
38
+# without passing anything in, uses the default callback above
39
+trainer = Trainer()
40
+
41
+# pass in your own to override the default callback
42
trainer = Trainer(early_stop_callback=early_stop_callback)
43
44
+# pass in None to disable it
45
+trainer = Trainer(early_stop_callback=None)
46
```
47
48
---
49
#### Force disable early stop
-Use this to turn off early stopping and run training to the [max_epoch](#force-training-for-min-or-max-epochs)
50
+To disable early stopping pass None to the early_stop_callback
51
``` {.python}
52
# DEFAULT
-trainer = Trainer(enable_early_stop=True)
53
54
55
56
0 commit comments