forked from mrq/ai-voice-cloning
15 lines
463 B
Bash
Executable File
15 lines
463 B
Bash
Executable File
#!/bin/bash
|
|
CMD="python3 ./src/main.py $@"
|
|
# CMD="bash"
|
|
CPATH="/home/user/ai-voice-cloning"
|
|
docker run --rm --gpus all \
|
|
--mount "type=bind,src=$PWD/models,dst=$CPATH/models" \
|
|
--mount "type=bind,src=$PWD/training,dst=$CPATH/training" \
|
|
--mount "type=bind,src=$PWD/voices,dst=$CPATH/voices" \
|
|
--mount "type=bind,src=$PWD/bin,dst=$CPATH/bin" \
|
|
--workdir $CPATH \
|
|
--user "$(id -u):$(id -g)" \
|
|
--net host \
|
|
-it ai-voice-cloning $CMD
|
|
|