Upload files to ''

This commit is contained in:
Kacper Dudzic 2022-03-25 21:12:58 +01:00
parent 4a162a6575
commit aedbdcc072
2 changed files with 15 additions and 0 deletions

11
skrypt.sh Normal file
View File

@ -0,0 +1,11 @@
#!/bin/sh
kaggle datasets download -d mterzolo/lego-sets
unzip -o lego-sets.zip
shuf lego_sets.csv > lego_sets.shuf.csv
head -104157 lego_sets.shuf.csv > lego_sets.train.csv
tail -n +104158 lego_sets.shuf.csv | head -13020 > lego_sets.dev.csv
tail -n +104158 lego_sets.shuf.csv | tail -n +13021 > lego_sets.test.csv
tar -czf lego_sets.tar.gz lego_sets.train.csv lego_sets.dev.csv lego_sets.test.csv

4
statystyki.sh Normal file
View File

@ -0,0 +1,4 @@
#!/bin/sh
wc -l $1 > statystyki.txt