voice-changer/start.sh
2022-08-23 03:57:54 +09:00

13 lines
449 B
Bash

#!/bin/bash
EXP_NAME=$1
shift
docker run -it --gpus all --shm-size=2g \
-v `pwd`/exp/${EXP_NAME}/dataset:/MMVC_Trainer/dataset \
-v `pwd`/exp/${EXP_NAME}/logs:/MMVC_Trainer/logs \
-v `pwd`/exp/${EXP_NAME}/filelists:/MMVC_Trainer/filelists \
-v `pwd`/exp/${EXP_NAME}/filelists:/voice-changer-internal/voice-change-service/filelists
-e LOCAL_UID=$(id -u $USER) \
-e LOCAL_GID=$(id -g $USER) \
-p 6008:6006 mmvc_trainer_docker "$@"