Files
SIA/run.sh

19 lines
302 B
Bash
Executable File

#!/bin/bash
set -e
docker build \
--tag sia \
.
docker run \
--rm \
-ti \
--gpus=all \
-p 8080:8080 \
-v /$(pwd)/model/:/root/model/ \
-v /$(pwd)/.env:/root/.env \
-v /$(pwd)/iterations/:/root/sia/iterations/ \
-v /$(pwd)/.git/:/root/sia/.git/ \
sia "$@"