From e017c3724d011aa057060c5b36a1bb499c5e92f4 Mon Sep 17 00:00:00 2001 From: ZaneYork Date: Sun, 5 Dec 2021 13:01:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- douzero/dmc/arguments.py | 2 +- train.cmd | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 train.cmd diff --git a/douzero/dmc/arguments.py b/douzero/dmc/arguments.py index ef0c6a2..4249e5e 100644 --- a/douzero/dmc/arguments.py +++ b/douzero/dmc/arguments.py @@ -5,7 +5,7 @@ parser = argparse.ArgumentParser(description='DouZero: PyTorch DouDizhu AI') # General Settings parser.add_argument('--xpid', default='douzero', help='Experiment id (default: douzero)') -parser.add_argument('--save_interval', default=10, type=int, +parser.add_argument('--save_interval', default=30, type=int, help='Time interval (in minutes) at which to save the model') parser.add_argument('--objective', default='adp', type=str, choices=['adp', 'wp', 'logadp'], help='Use ADP or WP as reward (default: ADP)') diff --git a/train.cmd b/train.cmd new file mode 100644 index 0000000..3d7e65b --- /dev/null +++ b/train.cmd @@ -0,0 +1 @@ +python3 train.py --actor_device_cpu --training_device cpu --load_model \ No newline at end of file