Skip to content

Commit 3825ce4

Browse files
sidhantlsBorda
andauthored
fix argparse conflicting options error (#5569)
Co-authored-by: Jirka Borovec <[email protected]>
1 parent 486f682 commit 3825ce4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pl_examples/domain_templates/semantic_segmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def main(hparams: Namespace):
284284

285285
if __name__ == '__main__':
286286
cli_lightning_logo()
287-
parser = ArgumentParser()
287+
parser = ArgumentParser(add_help=False)
288288
parser = SegModel.add_model_specific_args(parser)
289289
hparams = parser.parse_args()
290290

0 commit comments

Comments
 (0)