summaryrefslogtreecommitdiff
path: root/cleanup.sh
blob: 9d162164b82c6fab42d0a4bad0ef3e125adb298b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

# Clean up stuff that we don't need that takes up lots of disk space.

df -h

echo
echo "Cleaning up checkpoints..."

rm checkpoints/*/1_*.pth
rm checkpoints/*/2_*.pth
rm checkpoints/*/3_*.pth
rm checkpoints/*/4_*.pth
rm checkpoints/*/5_*.pth
rm checkpoints/*/6_*.pth
rm checkpoints/*/7_*.pth
rm checkpoints/*/8_*.pth

echo "Cleaning up recursive frames..."

rm -rf recursive/*/*_0149

echo
df -h