Tomasz Sobczyk and nodchip
96fa8fa8dc
Add missing files.
2020-09-11 21:53:17 +09:00
Tomasz Sobczyk and nodchip
683c6146ce
Move declarations around and split them.
2020-09-11 21:53:17 +09:00
Tomasz Sobczyk and nodchip
c6f5f6a082
Replace "use_raw_nnue_eval" with an uci option "Use NNUE pure"
2020-09-11 21:53:17 +09:00
Tomasz Sobczyk and nodchip
c76bb34a96
Add convert UCI function that allows conversion of files between any of plain, bin, and binpack. Usage: convert infile outfile [append].
2020-09-11 09:36:24 +09:00
Tomasz Sobczyk and nodchip
6b76ebc2ca
Support for binpack format in sfenreader in learner. Automatically detect file extension and choose the correct reader (bin or binpack)
2020-09-10 21:19:37 +09:00
Tomasz Sobczyk and nodchip
020e66d2e6
Add "sfen_format" option in gensfen. Valid values are "bin" and "binpack". It determines the output format of the sfens. Binpack is a highly compressed formats for consecutive sfens. Extension is now determined by the used format, output_file_name should contain just the stem.
2020-09-10 21:19:37 +09:00
nodchip
9dcadfa642
Removed compile warnings.
2020-09-09 23:02:39 +09:00
nodchip
7bd4688747
Remove compile warnings.
2020-09-09 23:02:39 +09:00
Joost VandeVondele and nodchip
17d42e023e
add more CI, instrumented runs
2020-09-09 19:40:43 +09:00
nodchip
2583f68972
Removed macros for KPP evaluate functions.
2020-09-09 10:26:42 +09:00
nodchip
8d763fb503
Removed LEARN_GENSFEN_USE_DRAW_RESULT macro.
2020-09-09 10:26:42 +09:00
nodchip
eafa569365
Removed macros for KPP factorization.
2020-09-09 10:26:42 +09:00
nodchip
5e25702672
Removed USE_TRIANGLE_WEIGHT_ARRAY macro.
2020-09-09 10:26:42 +09:00
nodchip
f52165e1d3
Removed RESET_TO_ZERO_VECTOR macro.
2020-09-09 10:26:42 +09:00
nodchip
dbad9d96e0
Removed LOSS_FUNCTION_IS_ELMO_METHOD macro.
2020-09-09 10:26:42 +09:00
nodchip
ef1601218d
Removed LOSS_FUNCTION_IS_CROSS_ENTOROPY_FOR_VALUE macro.
2020-09-09 10:26:42 +09:00
nodchip
f52fbf8006
Removed LOSS_FUNCTION_IS_CROSS_ENTOROPY macro.
2020-09-09 10:26:42 +09:00
nodchip
d37eb63581
Removed LOSS_FUNCTION_IS_WINNING_PERCENTAGE macro.
2020-09-09 10:26:42 +09:00
nodchip
f3a158725d
Removed SGD_UPDATE macro.
2020-09-09 10:26:42 +09:00
nodchip
0271d70775
Removed ADA_GRAD_UPDATE macro.
2020-09-09 10:26:42 +09:00
nodchip
05d26499b4
Removed LEARN_ELMO_METHOD macro.
2020-09-09 10:26:42 +09:00
nodchip
82dc68ba9f
Removed #if for USE_GLOBAL_OPTIONS.
2020-09-09 10:26:42 +09:00
nodchip
aa2452caf3
Removed #if for USE_EVAL_HASH.
2020-09-09 10:26:42 +09:00
nodchip
ec96409176
Replaced DNDEBUG macro to _DEBUG macro.
2020-09-09 10:26:42 +09:00
nodchip
04a9a951b8
Removed "#if 0" and "#if 1".
2020-09-09 10:26:42 +09:00
nodchip
21cfead52c
Removed unused OMP_ macro.
2020-09-09 10:26:42 +09:00
nodchip
e6a6ba5221
Removed USE_BOOK macro.
2020-09-09 10:26:42 +09:00
nodchip
a6013557f2
Removed EVAL_NNUE macro.
2020-09-09 10:26:42 +09:00
Tomasz Sobczyk and nodchip
41b7674aee
Improve comments, break long lines.
2020-09-08 20:07:30 +09:00
Tomasz Sobczyk and nodchip
1482e5215a
A second batch of code reorganization.
2020-09-08 20:07:30 +09:00
Tomasz Sobczyk and nodchip
832c414b0d
First batch of reorganization.
2020-09-08 20:07:30 +09:00
noobpwnftw and nodchip
58863c3243
Update gensfen.cpp
2020-09-08 13:22:41 +09:00
nodchip
4cc98d80f8
Replaced the utility function to create a directory to std::filesystem.
2020-09-07 18:56:41 +09:00
Joost VandeVondele and nodchip
edbbc1a4df
Remove some warnings
2020-09-07 09:20:47 +09:00
Joost VandeVondele and nodchip
3bf418e63f
Fix some uninitialized variables with gensfen
...
fixes valgrind errors as seen with:
```
setoption name Use NNUE value true
isready
gensfen depth 6 loop 10 use_draw_in_training_data_generation 1 eval_limit 32000 output_file_name training_data/training_data.bin use_raw_nnue_eval 0
quit
```
the latter script now runs without valgrind errors on linux
2020-09-07 09:01:17 +09:00
Tomasz Sobczyk and nodchip
e9e6e47a93
Fix write_out_draw_game_in_training_data_generation flag not being respected.
2020-09-06 22:00:51 +09:00
Tomasz Sobczyk and nodchip
0612adec41
Fix incorrect early exit in evaluate_leaf.
2020-09-05 08:43:34 +09:00
Tomasz Sobczyk and nodchip
327e92aefe
Remove trailing whitespaces.
2020-09-03 19:22:52 +09:00
Tomasz Sobczyk and nodchip
2688194d44
Fix #91
2020-09-03 19:22:03 +09:00
Tomasz Sobczyk and nodchip
9d5dc3d33f
Fix compilation issues.
2020-09-03 19:21:27 +09:00
Tomasz Sobczyk and nodchip
c17f2b15fd
General cleanup of learner.cpp.
2020-09-02 23:08:22 +09:00
nodchip
f7bc4e6e45
Fixed compilation errors.
2020-08-29 00:56:05 +09:00
hero2017 and nodchip
5637996f79
Resolve #92
...
If we're defining something in a header then we should declare it.
2020-08-28 11:20:03 +09:00
tttak
03b43079eb
Merge branch 'nodchip_master' into wdl_20200824
2020-08-28 09:16:07 +09:00
nodchip
763e72cc9f
Changed the default value of use_raw_nnue_eval. Updated a source code comment.
2020-08-27 23:49:58 +09:00
nodchip
9fc3ff4c30
Added use_raw_nnue_eval option to return raw NNUE eval value in evaluate().
2020-08-27 23:48:28 +09:00
tttak
4ce30d9522
Use winning_percentage_wdl in learn
2020-08-24 22:56:08 +09:00
nodchip
7ee8a2bbb7
Merge branch 'master' of github.com:nodchip/Stockfish
2020-08-22 12:19:46 +09:00
nodchip
87633b876c
Added an option to convert teacher signals to winning probabilities.
2020-08-22 12:19:29 +09:00
tttak
f057aec4a9
Merge remote-tracking branch 'nodchip/master' into convert_bin_from_pgn-extract_20200819
2020-08-21 22:49:11 +09:00