Skip to content

Commit 661c181

Browse files
authored
Fix typo in kwarg in SpikeDetection (#19282)
1 parent 23c3454 commit 661c181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lightning/fabric/utilities/spike.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def load_state_dict(self, state_dict: Dict[str, Any]) -> None:
166166
self.warmup = state_dict.pop("warmup")
167167
self.atol = state_dict.pop("atol")
168168
self.rtol = state_dict.pop("rtol")
169-
self.bad_batches = state_dict.pop("bad_bachtes")
169+
self.bad_batches = state_dict.pop("bad_batches")
170170
self.exclude_batches_path = state_dict.pop("bad_batches_path")
171171
self.running.load_state_dict(state_dict.pop("running"))
172172
self.running_mean.base_metric.load_state_dict(state_dict.pop("mean"))

0 commit comments

Comments
 (0)