python3 src/main.py --config=qmix --env-config=sc2 with env_args.map_name=2s3z checkpoint_path=/home/jerry/pymarl/results/models/qmix__2021-09-24_20-58-18/ runner=episode t_max=22350
This will save a game-play of current checkpoint
save_replay
option allows saving replays of models which are loaded using checkpoint_path
. Once the model is successfully loaded, test_nepisode number of episodes are run on the test mode and a .SC2Replay file is saved in the Replay directory of StarCraft II. The name of the saved replay file starts with the given env_args.save_replay_prefix (map_name if empty), followed by the current timestamp.