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