def run_stuff(board_rep, model_name) epi_count = 0 system("python3 main.py --train --model #{model_name} --board-rep #{board_rep} --episodes 1 --force-creation") while epi_count < 200000 do for _ in (1..3) do system("python3 main.py --eval --model #{model_name} --board-rep #{board_rep} --eval-methods dumbeval --episodes 250") end for _ in (1..3) do system("python3 main.py --eval --model #{model_name} --board-rep #{board_rep} --eval-methods pubeval --episodes 250") end system("python3 main.py --train --model #{model_name} --board-rep #{board_rep} --episodes 2000") epi_count += 2000 end end ### /////////////////////////////////////////////////////////////// # QUACK TESTINGS ### /////////////////////////////////////////////////////////////// board_rep = "quack" model_name = "quack_test_0_ply" run_stuff(board_rep, model_name) #board_rep = "quack" #model_name = "quack_test_1_ply" # #run_stuff(board_rep, model_name) ### /////////////////////////////////////////////////////////////// # QUACK-FAT TESTING ### /////////////////////////////////////////////////////////////// board_rep = "quack-fat" model_name = "quack-fat_test_0_ply" run_stuff(board_rep, model_name) #board_rep = "quack-fat" #model_name = "quack-fat_test_1_ply" # #run_stuff(board_rep, model_name) ### /////////////////////////////////////////////////////////////// # QUACK-NORM TESTING ### /////////////////////////////////////////////////////////////// board_rep = "quack-norm" model_name = "quack-norm_test_0_ply" run_stuff(board_rep, model_name) #board_rep = "quack-norm" #model_name = "quack-norm_test_1_ply" # #run_stuff(board_rep, model_name) ### /////////////////////////////////////////////////////////////// # TESAURO TESTING ### /////////////////////////////////////////////////////////////// board_rep = "tesauro" model_name = "tesauro_test_0_ply" run_stuff(board_rep, model_name) #board_rep = "tesauro" #model_name = "tesauro_test_1_ply" # #run_stuff(board_rep, model_name)