mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Re-eval only if smallnet output flips from simple eval
Recent attempts to change the smallnet nnue re-eval threshold did not show much elo difference: https://tests.stockfishchess.org/tests/view/664a29bb25a9058c4d21d53c https://tests.stockfishchess.org/tests/view/664a299925a9058c4d21d53a Passed non-regression STC: https://tests.stockfishchess.org/tests/view/664a3ea95fc7b70b8817aee2 LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 22304 W: 5905 L: 5664 D: 10735 Ptnml(0-2): 67, 2602, 5603, 2783, 97 Passed non-regression LTC: https://tests.stockfishchess.org/tests/view/664a43d35fc7b70b8817aef4 LLR: 2.96 (-2.94,2.94) <-1.75,0.25> Total: 37536 W: 9667 L: 9460 D: 18409 Ptnml(0-2): 25, 4090, 10321, 4317, 15 closes https://github.com/official-stockfish/Stockfish/pull/5271 bench 1287409
This commit is contained in:
parent
81e21a69f0
commit
4d88a63e60
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ Value Eval::evaluate(const Eval::NNUE::Networks& networks,
|
|||
Value nnue = smallNet ? networks.small.evaluate(pos, &caches.small, true, &nnueComplexity)
|
||||
: networks.big.evaluate(pos, &caches.big, true, &nnueComplexity);
|
||||
|
||||
if (smallNet && (nnue * simpleEval < 0 || std::abs(nnue) < 500))
|
||||
if (smallNet && nnue * simpleEval < 0)
|
||||
{
|
||||
nnue = networks.big.evaluate(pos, &caches.big, true, &nnueComplexity);
|
||||
smallNet = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue