We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4281b58 commit e49bebfCopy full SHA for e49bebf
src/lightning/pytorch/trainer/trainer.py
@@ -124,7 +124,7 @@ def __init__(
124
inference_mode: bool = True,
125
use_distributed_sampler: bool = True,
126
profiler: Optional[Union[Profiler, str]] = None,
127
- detect_anomaly: bool = False,
+ detect_anomaly: bool = True,
128
barebones: bool = False,
129
plugins: Optional[Union[_PLUGIN_INPUT, list[_PLUGIN_INPUT]]] = None,
130
sync_batchnorm: bool = False,
0 commit comments