From 180f39d533092f6cc5fbae23acadbec7c3231295 Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.dos.anjos@gmail.com> Date: Thu, 27 Jul 2023 19:58:51 +0200 Subject: [PATCH] [scripts.train] Fix overlapping short options for datamodule and device --- src/ptbench/scripts/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ptbench/scripts/train.py b/src/ptbench/scripts/train.py index e331108d..8f2f51c9 100644 --- a/src/ptbench/scripts/train.py +++ b/src/ptbench/scripts/train.py @@ -125,7 +125,7 @@ logger = setup(__name__.split(".")[0], format="%(levelname)s: %(message)s") ) @click.option( "--device", - "-d", + "-x", help='A string indicating the device to use (e.g. "cpu" or "cuda:0")', show_default=True, required=True, -- GitLab