Skip to content

Commit

Permalink
chore: cancel cp to bool (#220)
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <[email protected]>
  • Loading branch information
ThibaultFy authored Jun 20, 2024
1 parent 4c201f8 commit 8d9ea87
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion benchmark/camelyon/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ def parse_params() -> dict:
default=Path(__file__).resolve().parents[1] / "data",
help="Path to the data",
)
parser.add_argument("--cancel-cp", type=bool, default=False, help="Remote only: cancel the CP after registration")
parser.add_argument(
"--cancel-cp",
action="store_true",
default=False,
help="Remote only: cancel the CP after registration",
)
parser.add_argument("--torch-gpu", action="store_true", help="Use PyTorch with GPU/CUDA support")
parser.add_argument(
"--skip-pure-torch",
Expand Down

0 comments on commit 8d9ea87

Please sign in to comment.