diff --git a/worker/games.py b/worker/games.py index 332bbffa1..5d4230ea1 100644 --- a/worker/games.py +++ b/worker/games.py @@ -1142,10 +1142,16 @@ def get_eval_file_big(stockfish_bin): if ' EvalFile ' in row: return row.split(" ")[-1] - # base_nnue = "nn-ddcfb9224cdb.nnue" base_nnue = get_eval_file_big(stockfish_bin) + # base_nnue = "nn-ddcfb9224cdb.nnue" + print(f"EvalFile {base_nnue}") + for token in cmd: + if token.startswith("option.EvalFile="): + base_nnue_check = token.split("option.EvalFile=")[-1] + print(f"option.EvalFile={base_nnue_check}") + print(f"Preparing nnue from w_tune_options.csv ...") w_spsa_nnue = modify_nnue(base_nnue, "w_tune_options.csv") print()