Comments (2)
Thanks for the info. That exe is based from the old py source. But even the latest chess_artist.py I see the error too. I need to modify the py source, since newer stockfish has changes on the eval command output.
sf13
ok
eval
info string NNUE evaluation using nn-62ef826d1a6d.nnue enabled
Term | White | Black | Total
| MG EG | MG EG | MG EG
------------+-------------+-------------+------------
Material | ---- ---- | ---- ---- | 0.00 0.00
Imbalance | ---- ---- | ---- ---- | 0.00 0.00
Pawns | 0.38 -0.08 | 0.38 -0.08 | 0.00 0.00
Knights | -0.02 -0.19 | -0.02 -0.19 | 0.00 0.00
Bishops | 0.01 -0.41 | 0.01 -0.41 | 0.00 0.00
Rooks | -0.26 -0.06 | -0.26 -0.06 | 0.00 0.00
Queens | 0.00 0.00 | 0.00 0.00 | 0.00 0.00
Mobility | -0.88 -1.15 | -0.88 -1.15 | 0.00 0.00
King safety | 0.91 -0.10 | 0.91 -0.10 | 0.00 0.00
Threats | 0.00 0.00 | 0.00 0.00 | 0.00 0.00
Passed | 0.00 0.00 | 0.00 0.00 | 0.00 0.00
Space | 0.40 0.00 | 0.40 0.00 | 0.00 0.00
Winnable | ---- ---- | ---- ---- | 0.00 0.00
------------+-------------+-------------+------------
Total | ---- ---- | ---- ---- | 0.00 0.00
Classical evaluation: 0.13 (white side)
NNUE evaluation: 0.27 (white side)
Final evaluation: 0.48 (white side)
sf14
not ok
eval
info string NNUE evaluation using nn-3475407dc199.nnue enabled
Contributing terms for the classical eval:
+------------+-------------+-------------+-------------+
| Term | White | Black | Total |
| | MG EG | MG EG | MG EG |
+------------+-------------+-------------+-------------+
| Material | ---- ---- | ---- ---- | 0.00 0.00 |
| Imbalance | ---- ---- | ---- ---- | 0.00 0.00 |
| Pawns | 0.38 -0.08 | 0.38 -0.08 | 0.00 0.00 |
| Knights | -0.02 -0.19 | -0.02 -0.19 | 0.00 0.00 |
| Bishops | 0.01 -0.41 | 0.01 -0.41 | 0.00 0.00 |
| Rooks | -0.26 -0.06 | -0.26 -0.06 | 0.00 0.00 |
| Queens | 0.00 0.00 | 0.00 0.00 | 0.00 0.00 |
| Mobility | -0.88 -1.15 | -0.88 -1.15 | 0.00 0.00 |
|King safety | 0.91 -0.10 | 0.91 -0.10 | 0.00 0.00 |
| Threats | 0.00 0.00 | 0.00 0.00 | 0.00 0.00 |
| Passed | 0.00 0.00 | 0.00 0.00 | 0.00 0.00 |
| Space | 0.40 0.00 | 0.40 0.00 | 0.00 0.00 |
| Winnable | ---- ---- | ---- ---- | 0.00 0.00 |
+------------+-------------+-------------+-------------+
| Total | ---- ---- | ---- ---- | 0.00 0.00 |
+------------+-------------+-------------+-------------+
NNUE derived piece values:
+-------+-------+-------+-------+-------+-------+-------+-------+
| r | n | b | q | k | b | n | r |
| -8.00 | -6.75 | -6.98 | -13.6 | | -7.03 | -6.77 | -8.04 |
+-------+-------+-------+-------+-------+-------+-------+-------+
| p | p | p | p | p | p | p | p |
| -0.83 | -1.40 | -1.44 | -1.63 | -1.48 | -2.06 | -1.85 | -0.83 |
+-------+-------+-------+-------+-------+-------+-------+-------+
| | | | | | | | |
| | | | | | | | |
+-------+-------+-------+-------+-------+-------+-------+-------+
| | | | | | | | |
| | | | | | | | |
+-------+-------+-------+-------+-------+-------+-------+-------+
| | | | | | | | |
| | | | | | | | |
+-------+-------+-------+-------+-------+-------+-------+-------+
| | | | | | | | |
| | | | | | | | |
+-------+-------+-------+-------+-------+-------+-------+-------+
| P | P | P | P | P | P | P | P |
| +0.62 | +1.19 | +1.13 | +1.17 | +1.20 | +1.55 | +1.44 | +0.50 |
+-------+-------+-------+-------+-------+-------+-------+-------+
| R | N | B | Q | K | B | N | R |
| +7.81 | +6.17 | +6.68 | +11.4 | | +6.63 | +6.14 | +7.60 |
+-------+-------+-------+-------+-------+-------+-------+-------+
NNUE network contributions (White to move)
+------------+------------+------------+------------+
| Bucket | Material | Positional | Total |
| | (PSQT) | (Layers) | |
+------------+------------+------------+------------+
| 0 | 0.00 | - 1.08 | - 1.08 |
| 1 | 0.00 | + 1.52 | + 1.52 |
| 2 | 0.00 | + 0.60 | + 0.60 |
| 3 | 0.00 | + 0.52 | + 0.52 |
| 4 | 0.00 | + 0.32 | + 0.32 |
| 5 | 0.00 | + 0.19 | + 0.19 |
| 6 | 0.00 | + 0.12 | + 0.12 |
| 7 | 0.00 | + 0.08 | + 0.08 | <-- this bucket is used
+------------+------------+------------+------------+
Classical evaluation +0.00 (white side)
NNUE evaluation +0.08 (white side)
Final evaluation +0.16 (white side) [with scaled NNUE, hybrid, ...]
Error messge
File "F:\Project\my_pyinstaller\chess_artist.py", line 2089, in AnnotatePgn
self.passedPawnIsGood = self.IsPassedPawnGood(
File "F:\Project\my_pyinstaller\chess_artist.py", line 1045, in IsPassedPawnGood
MgPassedValue = float(passedPawnComment.split()[8])
ValueError: could not convert string to float: '|'
I also stop converting latest chess_artist.py to exe as some anti-virus softwares are flagging the resulting exe created by pyinstaller as malicious.
from chess-artist.
Fixed in 8a67d08.
[Event "Skilling Open Prelim"]
[Site "chess24.com INT"]
[Date "2020.11.23"]
[Round "8.4"]
[White "Ding, Liren"]
[Black "Carlsen, Magnus"]
[Result "1/2-1/2"]
[Annotator "engine: Stockfish 14, program: Chess Artist v3.1.0"]
[BlackElo "2862"]
[BlackFideId "1503014"]
[BlackTitle "GM"]
[ECO "E10"]
[EventDate "2020.11.22"]
[Opening "QGD"]
[Variation "4.Nf3"]
[WhiteElo "2791"]
[WhiteFideId "8603677"]
[WhiteTitle "GM"]
{ Hash 256mb, Threads 1, analysis 0.1s per position, move score is in pawn unit, positive is good for white and negative is good for black } 1.d4 Nf6 2.c4 e6 3.Nf3 d5 4.Nc3 h6 5.Bf4 Bd6 6.Bxd6 Qxd6 7.e3 O-O 8.Rc1 b6 9.cxd5 Nxd5 10.Nxd5 Qxd5 11.a3 Qd6 12.Qc2 { +1.62, with a better piece mobility } 12...c6 { +1.62 } 13.Qe4 { +1.44 } 13...Qd5 { +1.75 } 14.Bd3 $2 { +1.45 } ( 14.Qxd5 { +1.75 } ) 14...Qxe4 { +1.65 } 15.Bxe4 { +1.54 } 15...Bb7 { +1.50 } 16.Ne5 { +1.45 } 16...f6 { +1.65 } 17.Ng6 { +1.50, with a better king safety } 17...Rd8 { +1.52 } 18.Nf4 $2 { +0.86 } ( 18.f4 Kf7 19.b4 a6 20.f5 { +1.52 } ) 18...Rd6 { +0.61 } 19.O-O $1 { +0.90 } ( 19.Ng6 Nd7 20.h4 Kf7 21.f4 { +0.61 } ) 19...Nd7 { +0.65 } 20.Rc3 $2 { +0.25 } ( 20.Ng6 Kf7 21.f4 Rc8 22.Ne5+ { +0.87 } ) 20...Rd8 { +0.29 } ( 20...e5 { +0.25 } ) 21.Rfc1 e5 22.dxe5 Nxe5 23.h3 Rd1+ 24.Kh2 Rxc1 25.Rxc1 Rd6 26.Ng6 Nxg6 27.Bxg6 Kf8 28.Be4 Rd2 29.Bxc6 Bxc6 30.Rxc6 Rxf2 31.b4 Re2 32.Rc8+ Kf7 33.Rc7+ Kg6 34.Rxa7 Rxe3 35.a4 Ra3 36.a5 bxa5 37.bxa5 f5 38.a6 f4 39.Ra8 Ra2 40.Rf8 Rxa6 41.Rxf4 Rf6 42.Kg3 Rxf4 43.Kxf4 Kf6 44.g4 g5+ 45.Ke4 Ke6 46.Kd4 Kd6 47.Ke4 Ke6 48.Kd4 Kd6 49.Ke4 Ke6 { WhiteBlunder=0, BlackBlunder=0, WhiteBad=3, BlackBad=0 } 1/2-1/2
from chess-artist.
Related Issues (20)
- Add --syzygy-path option
- Add --pv-from-match flag
- Add feature to analyze variant Chess960 games
- After ucinewgame an isready/readyok check is required HOT 4
- ImportError: No module named chess.pgn HOT 19
- Don't restart engine when solving a test suite HOT 1
- Search Depth HOT 4
- Python 3.8 and the newest python-chess HOT 4
- Indicate variant in created puzzle EPD HOT 6
- generate simple puzzle HOT 9
- create puzzles/test files stuck HOT 31
- Errors in some games HOT 6
- Pause/ continue option HOT 3
- Ignores files having all caps PGN extension HOT 2
- Depth not working? HOT 5
- puzzle maker best moves same as provided move HOT 2
- Supports comment translation
- Supports egtb access without using an engine
- depth included in annotation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chess-artist.