Skip to content

Commit

Permalink
Check fetching base nnue a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
linrock committed Jul 7, 2024
1 parent 0dcbdd5 commit 1766ba2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion worker/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1766ba2

Please sign in to comment.