Minic version 3

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

Moderator: Ras

User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sat Mar 06, 2021 9:37 pm Sorry to write so. But you have to work on it. But any GUI should tell you that it has loaded noisy_notch.bin.
Well Minic is outputing info at screen to tell if net is loaded or not, no worries. But thing is, cutechess only prints debug output after the initialization phase so that you have no access to that.

About engine/gui relation, I don't think any other engine do something that tells UCI protocol that net is properly loaded, but I might be wrong.
Dokterchen
Posts: 137
Joined: Wed Aug 15, 2007 12:18 pm
Location: Munich

Re: Minic version 3

Post by Dokterchen »

I have noticed that Minic has a problem with spaces in the path. C:\MinicNet\noisy_notch.bin works, but C:\Minic Net\noisy_notch.bin does not work.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 11:36 am Thank you for your answer xr_a_y. I'm sorry but you are wrong, please look

Image
Is this a cutechess screen shot? About what I am wrong? If this is cutechess debug output, I'm glad I'm wrong ;-)

If nnue net fail to load here, Minic would tell it and say it uses standard evaluation.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 1:06 pm
xr_a_y wrote: Sun Mar 07, 2021 12:56 pm Is this a cutechess screen shot? About what I am wrong? If this is cutechess debug output, I'm glad I'm wrong ;-)

If nnue net fail to load here, Minic would tell it and say it uses standard evaluation.
No, it isn't cutechess. It's a program Shredder Classic 5.As you can see, the program has loaded - noisy_notch.bin. See the information that is underlined in black in the image.
So good news I guess. No problem anymore?
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Ok, so what is the problem exactly ?

Under cutechess, you're not sure the net is loaded ? is that the issue ? If so, it is more on the cutechess side to allow the user to see debug information sooner.

If you think the net fail to load under cutechess (for example because you observe nps are too high), then i'd recommand to use full path and not rely on "working directory".

On the Minic log side. If you are using standard eval, you will see :

Code: Select all

info string This is Minic version 3.05 (NNUE available)
info string Info  2021-03-07 14:31:22-869: No NNUE net loaded, using standard evaluation
If net is correctly loaded :

Code: Select all

info string This is Minic version 3.05 (NNUE available)
info string Info  2021-03-07 14:31:03-930: Loading NNUE net ../NNUE-Nets/nibbled_nutshell.bin
If incompatible net is used :

Code: Select all

info string This is Minic version 3.05 (NNUE available)
info string Info  2021-03-07 14:29:34-894: Loading NNUE net ../NNUE-Nets/noisy_notch.bin
info string Error 2021-03-07 14:29:34-894: File ../NNUE-Nets/noisy_notch.bin does not look like a compatible net
info string Info  2021-03-07 14:29:34-894: Fail to load NNUE net, using standard evaluation
If path seems wrong :

Code: Select all

info string This is Minic version 3.05 (NNUE available)
info string Info  2021-03-07 14:31:40-102: Loading NNUE net ../NNUE-Nets/nibbled_nutshell___
info string Error 2021-03-07 14:31:40-102: File ../NNUE-Nets/nibbled_nutshell___ is not accessible
info string Info  2021-03-07 14:31:40-102: Fail to load NNUE net, using standard evaluation
But you need access to the log to verify that of course.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 2:49 pm I will wait for version 3.05 - the program does not show any logos.
The log (as "logging", not logos, maybe a typo ?) I showed are exactly the same in version 3.04, like

Code: Select all

info string This is Minic version 3.04 (NNUE available)
info string Info  2021-03-07 14:50:57-739: Loading NNUE net ../NNUE-Nets/nibbled_nutshell___
info string Error 2021-03-07 14:50:57-739: File ../NNUE-Nets/nibbled_nutshell___ is not accessible
info string Info  2021-03-07 14:50:57-739: Fail to load NNUE net, using standard evaluation
Last edited by xr_a_y on Sun Mar 07, 2021 2:53 pm, edited 1 time in total.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 2:53 pm I will wait for version 3.05 - the program does not show any logos. And to show some logos I would have to select the options in the box below. And there is no such option.

Image
Log as "logging", not logos. You need access to the "engine output" (==log) to check if net is well loaded.
Cutechess does not allow that I think at the moment when the net is loaded. The "engine debug" window of cutechess starts to receive the log after the engine is "configured" at the start of a game.
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 2:59 pm You have to write the engine to show like other programs . There is no other possibility.
This is not on Minic side !
No engine can write something to cutechess debug window if this one is not capturing the output flux yet.
Have a look at this bug report for instance : https://github.com/cutechess/cutechess/issues/496 and that https://github.com/cutechess/cutechess/issues/142
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 3:13 pm I have such a request for you. Please visit the website https://rwbc-chess.de/download.htm and download the program Cutechess (cli and GUI + my changes.txt) 1.20 and please see for yourself. Thank you in advance and see how it works with you. Use GUI.
Already my version of cutechess ...

Code: Select all

Cute Chess 1.2.0
Using Qt version 5.14.2
And I'm sure the "engine debug" window (available in the "view" menu) is what we need to check engine logs but for now there is a little bug in cutechess that does not allow to check engine initialization. This is why for Minic and maybe many other engines you won't see "net loading phase" output to the debug window.

So you will have no way to check the net is indeed well loaded appart from having a look at nps during a game : nps when using a net will be way smaller than if using standard evaluation.

Regards
User avatar
xr_a_y
Posts: 1872
Joined: Sat Nov 25, 2017 2:28 pm
Location: France

Re: Minic version 3

Post by xr_a_y »

Krzysztof Grzelak wrote: Sun Mar 07, 2021 3:32 pm I understand and thank you for your xr_a_y. Version it Cute Chess 1.2.0 Using Qt version 5.15.0 not Cute Chess 1.2.0 Using Qt version 5.14.2.
This is just different build (using different Qt framework) of the same cutechess version (namely 1.2.0). Qt version 5.14 or 5.15 does not affect this bug I think.