Skip to content

Commit

Permalink
fixed start arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
LostOxygen committed Jul 20, 2023
1 parent c4f709a commit 54104d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions visualize_lrp.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@ def main(has_cancer: bool) -> None:

if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("--has_cancer", "-hc", type=bool, default=False,
help="choose between negative/positive cancer examples",
action="store_true")
parser.add_argument("--has_cancer", "-hc", action="store_true", default=False,
help="choose between negative/positive cancer examples")
args = parser.parse_args()
main(**vars(args))

0 comments on commit 54104d6

Please sign in to comment.