15 lines
594 B
Bash
Executable File
15 lines
594 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -Eeuo pipefail
|
|
test "$(hostname)" = athena || exit 2
|
|
[[ ${1:-} == --all ]] || {
|
|
printf '%s\n' 'Preview only. To remove: cleanup.sh --all' \
|
|
'Container: mike-ai-ornith15-ab' \
|
|
'Weights: /data/models/ornith15-ab' \
|
|
'Results: /data/benchmarks/ornith15-ab' \
|
|
'Staging: /opt/mike-ai/experiments/ornith15-ab'; exit 0;
|
|
}
|
|
docker rm -f mike-ai-ornith15-ab 2>/dev/null || true
|
|
rm -rf -- /data/models/ornith15-ab /data/benchmarks/ornith15-ab
|
|
rm -rf -- /opt/mike-ai/experiments/ornith15-ab
|
|
echo 'Ornith experiment container, weights, results and staging removed.'
|