🐛 Fixes analyze.sh script

This commit is contained in:
Daniel Svitan
2025-03-23 20:46:28 +01:00
parent ee66b08778
commit 929ba716a0
4 changed files with 13 additions and 2 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/bash
find results ! -name 'train.txt' -type f -exec rm -f {} +
rm results/*
./venv/bin/python3 distribution.py --graph --save | tee results/distribution.txt
echo -e "\n\n\n\n"
@@ -17,3 +17,9 @@ echo -e "\n\n\n\n"
./venv/bin/python3 analyze_sleep.py --graph --save "results/Figure_18.png" | tee results/sleep.txt
echo -e "\n\n\n\n"
./venv/bin/python3 analyze_absence.py --graph --save "results/Figure_19.png" | tee results/absence.txt
echo -e "\n\n\n\n"
./venv/bin/python3 train_nn.py --graph --save "results/Figure_20.png" | tee results/train.txt
echo -e "\n\n\n\n"
tar cvzf results.tar.gz results/
zip results.zip results/*