[tune] Fix ddp_mnist_torch example argument type (#16017)

* fix ddp_mnist_torch example argument type

* add period
This commit is contained in:
Howard Lau 2021-05-25 03:05:33 +08:00 committed by GitHub
parent 0fecfe10b8
commit 225b3fda91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,9 +71,9 @@ if __name__ == "__main__":
help="Sets number of workers for training.")
parser.add_argument(
"--num-gpus-per-worker",
action="store_true",
default=False,
help="enables CUDA training")
type=int,
default=0,
help="Sets number of gpus each worker uses.")
parser.add_argument(
"--cluster",
action="store_true",