CSSLab / maia-chess

Maia is a human-like neural network chess engine trained on millions of human games.
https://maiachess.com
GNU General Public License v3.0
964 stars 121 forks source link

Attempt in recreating the accuracy test results of Maia's paper #53

Open bite1234 opened 1 year ago

bite1234 commented 1 year ago

I am working on a project which uses Maia's research and I need to recreate the results shown in the paper, thankfully you have provided the scripts necessary to do that, however I am encountering issues.

I looked at this post: https://github.com/CSSLab/maia-chess/issues/44

Which is where I am at and having trouble getting lc0 to cooperate with the execution of replication-run_model_on_csv.py, which leads to model_loader and looks for the lc0, I have changed the line to the following: model = LC0Engine(lc0Path="D:\University\Project - Playing Chess with AI\Maia\lc0", noise=noise, temperature=temperature, temp_decay=temp_decay, **kwargs) In order to get direct access to the lc0 file, but it either gives an access error or chess.engine.EngineTerminatedError: engine process died unexpectedly (exit code: 3221226505)

Currently using: lc0 v0.29.0 and python-chess 0.31.4

What are the requirements exactly in order to run this ? (Version of lc0 and python-chess ?) I am running it using the anaconda environment I have set up with the requirements.txt and using administrator privileges etc.

Thank you in advance.

reidmcy commented 1 year ago

Is that the path to your lc0 binary? We don't use Windows, so I don't know how it handles path resolution but I added lc0 to the server's path and used it that way, instead of a direct link like you have.

What is shown when you run lc0 from the terminal? There's probably an issue with finding the weights or the compilation, so if you run it directly with those command you migh be able to see the issue.

The full versions of all our dependencies are found in maia_env.yml and the version of lc0 is found at github.com/CSSLab/lc0_23