How do you assign a NNUE file in Stockfish 12

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Ferdy
Posts: 4852
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: How do you assign a NNUE file in Stockfish 12

Post by Ferdy »

reflectionofpower wrote: Thu Feb 04, 2021 12:24 am
Ferdy wrote: Mon Feb 01, 2021 12:07 am
reflectionofpower wrote: Sun Jan 31, 2021 12:20 pm I do that and the nnue file I put it is renamed a different filename but still NNUE extension
* Record stockfish log by writing sf.log in the textbox next to "Debug Log File".
* Change the Evalfile using absolute path of your new eval file for example, c:\chess\nnue\nn.bin where nn.bin is your new eval file.
* Press save
* Press new game
* Adjust level
* Play a move
* Quit GUI
* Post the sf.log, let's see what is in there.

You lost me here: "Change the Evalfile using absolute path of your new eval file for example, c:\chess\nnue\nn.bin where nn.bin is your new eval file"
Where is this path. I thought putting in the NNUE file in Stockfish dir and naming it in the GUI was suffice and what's this BIN file??
The default eval file of sf12 is nn-82215d0fd0df.nnue.

If you have other eval file like nn.bin located in c:\chess\nnue and want to use it, use the path c:\chess\nnue\nn.bin. Let's see the sf log.
The nn.bin and path are only an example.

Also try to put the nnue file you have in the sf folder, change the EvalFile in the GUI without path, let's see the sf log.

Softwares can vary, sometimes the nnue file that is needed by the engine needs an absolute path.
User avatar
reflectionofpower
Posts: 1657
Joined: Fri Mar 01, 2013 5:28 pm
Location: USA

Re: How do you assign a NNUE file in Stockfish 12

Post by reflectionofpower »

I already posted the log file and I put a path in UCI Options.
"Without change, something sleeps inside us, and seldom awakens. The sleeper must awaken." (Dune - 1984)

Lonnie
Ferdy
Posts: 4852
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: How do you assign a NNUE file in Stockfish 12

Post by Ferdy »

reflectionofpower wrote: Thu Feb 04, 2021 12:06 pm I already posted the log file and I put a path in UCI Options.
If you change the EvalFile you should see in the sf log something similar to the following.

Code: Select all

>> setoption name EvalFile value d:\Chess\Engines\stockfish_12_win_x64_modern\nn-62ef826d1a6d.nnue

...

<< info string NNUE evaluation using d:\Chess\Engines\stockfish_12_win_x64_modern\nn-62ef826d1a6d.nnue enabled
If you are sure that you change the EvalFile in the GUI, then there could be a problem in the GUI.