Tomasz Sobczyk
|
1f7e5d3861
|
Add thread sanitized run for instrumented_learn and fix races.
|
2020-12-28 16:08:34 +09:00 |
|
Tomasz Sobczyk
|
1b560efabd
|
Correctly handle the last batch of data in sfen_reader
|
2020-12-25 10:03:24 +09:00 |
|
Tomasz Sobczyk
|
4f6fdca31f
|
Reduce the amount of sfens buffered for the validation step.
Used to be 10M, now we bound it by a multiple of validation_count, and at most 1M. This reduces the RAM usage greatly.
|
2020-12-25 00:17:35 +09:00 |
|
Tomasz Sobczyk
|
6853b4aac2
|
Simple filtering for validation data.
|
2020-12-22 09:40:25 +09:00 |
|
Tomasz Sobczyk
|
f56613ebf6
|
Add 'validation_count' option for 'learn' that specifies how many positions to use for validation
|
2020-12-20 09:47:30 +09:00 |
|
Tomasz Sobczyk
|
2c477d76ec
|
Cleaner and more outputs during training initialization.
|
2020-10-25 22:18:28 +09:00 |
|
Tomasz Sobczyk
|
4b72658409
|
Synchronize printed info regions in the learner and sfen reader.
|
2020-10-25 22:18:28 +09:00 |
|
Tomasz Sobczyk
|
cf3edfed82
|
Improve info messages.
|
2020-10-25 22:18:28 +09:00 |
|
Tomasz Sobczyk
|
371acaa0b5
|
Allow changing sfen reader buffer sizes for the learn command.
|
2020-10-25 19:22:56 +09:00 |
|
Tomasz Sobczyk
|
8fb208598b
|
pass shuffle flag in the constructor
|
2020-10-25 19:22:56 +09:00 |
|
Tomasz Sobczyk
|
ad3d1b42e4
|
Make sfen reader only stop when it's destroyed. Now it is fully RAII.
|
2020-10-25 19:22:56 +09:00 |
|
Tomasz Sobczyk
|
c58aa9696a
|
Start sfen reader worker thread in the constructor.
|
2020-10-25 19:22:56 +09:00 |
|
Tomasz Sobczyk
|
0636e1256d
|
Add cyclic mode to the sfen reader. Make sfen reader take all files at construction
|
2020-10-25 19:22:56 +09:00 |
|
Tomasz Sobczyk
|
af138d1937
|
Fix crashes when trying to open a file of unknown type. Increase robustness of error handling.
|
2020-10-22 20:01:55 +09:00 |
|
Tomasz Sobczyk
|
8f3e64a6d5
|
move sfen reader to separate file
|
2020-10-22 10:42:28 +09:00 |
|