summaryrefslogtreecommitdiff
path: root/cleanup.sh
blob: 6175d0b66d5ec290902d12072ad8c9bfed1ca866 (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
26
27
28
#!/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
rm checkpoints/*/9_*.pth
rm checkpoints/*/10_*.pth
#rm checkpoints/*/11_*.pth

echo "Cleaning up recursive frames..."

rm -rf recursive/*/*_0149

echo
df -h