diff options
| author | tslil <tslil@posteo.de> | 2021-01-06 22:34:01 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 71106f2a643b8cdc55eb52d6159894fef3cd3aec (patch) | |
| tree | 5f980580fc9c9ed54d194841fc2a28ef186b696f /src | |
| parent | c2227f2c115ee536ffa22b32866d3a68437dba73 (diff) | |
Small tweaks
Diffstat (limited to 'src')
| -rw-r--r-- | src/pptdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pptdb.c b/src/pptdb.c index 7a26ffd..7995219 100644 --- a/src/pptdb.c +++ b/src/pptdb.c @@ -98,8 +98,8 @@ parse_line(const char *pt, const ssize_t read) { if (COUNT_AT(k)>1) heights[COUNT_AT(k)]+=1; } } - // Generate training data - if (generate) { + // Generate training data, not too early in the game + if (generate && ply > 10) { write_input(); fprintf(training_fh,"%d\n", result); } |
