aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-09 00:42:19 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit08db5599e3a9ba94b26916a88002361606a98353 (patch)
treed50f99558001f587b4147b03b751895e3e15e4ce
parentadd37748ffbb2f3996e3b2495c243984381f2364 (diff)
Fixed comments during extraction
-rwxr-xr-xextract.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/extract.sh b/extract.sh
index e0cb691..89518dd 100755
--- a/extract.sh
+++ b/extract.sh
@@ -30,11 +30,11 @@ process() {
num_games=$2
./pptdb "$size" "data/playtak-$size" > "data/check-$size"
tail -n22 "data/check-$size"
- echo -e "\tStripping overflows and illegal games..."
+ echo -ne "\tStripping overflows and illegal games..."
grep -Fvxf "data/check-$size" "data/playtak-$size" > "data/good-playtak-$size"
- echo -e "\tChoosing $num_games from what remains ..."
+ echo -e "Done\n\tChoosing $num_games from what remains ..."
shuf -n $num_games "data/good-playtak-$size" > "data/smalltak-$size"
- echo -en "\tGenerating training data... "
+ echo -en "Done\n\tGenerating training data... "
./pptdb "$size" "data/smalltak-$size" generate
echo -e "\tDone, $(wc -l data/training-$size.csv | cut -d\ -f1) samples."
echo -en "\tShuffling... "