fix download.sh

This commit is contained in:
Maciej Czajka 2022-03-27 15:27:10 +02:00
parent 975aef2087
commit dc5a5c576d

View File

@ -1,5 +1,5 @@
dataset_operation() { dataset_operation() {
cat all_games.csv | shuf > all_games.csv.s tail -n +2 all_games.csv | shuf > all_games.csv.s
head -n $CUTOFF all_games.csv.s > ./all_games.csv.shuf head -n $CUTOFF all_games.csv.s > ./all_games.csv.shuf
len1=$(cat ./all_games.csv.shuf | wc -l) len1=$(cat ./all_games.csv.shuf | wc -l)
len2=$(($len1/10)) len2=$(($len1/10))