diff --git a/docker/run.sh b/docker/run.sh index 9d28d70d89..c52ccb4c4d 100755 --- a/docker/run.sh +++ b/docker/run.sh @@ -31,3 +31,11 @@ docker run \ --cap-add=sys_nice \ ${GPU_FLAGS:+--gpus="${GPU_FLAGS}"} \ "${CONTAINER_IMAGE}" ${@:+$@} + +# Remove Trash folder +for f in outputs/.Trash*; do + if [ -e "$f" ]; then + rm -Rf "$f" + break + fi +done