Upload files to ''

This commit is contained in:
Kacper Dudzic 2022-04-04 11:26:34 +02:00
parent 4d6897e1e8
commit cf0aace1cc

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