Skip to content

Commit 1fedcef

Browse files
authored
Fix missing defaults in run options (#2952)
1 parent ec14253 commit 1fedcef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

speechbrain/utils/run_opts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ def _create_parser():
316316
kwargs["action"] = "store_true"
317317
elif default is not None:
318318
kwargs["type"] = type(default)
319+
kwargs["default"] = default
319320

320321
# Any options with "precision" in the name can only take these values
321322
if "precision" in option:

0 commit comments

Comments
 (0)