Upload files to ''

This commit is contained in:
Kacper Dudzic 2022-04-11 10:06:21 +02:00
parent e58fe93af8
commit a19f9925c6

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