exp: update docker_folder

This commit is contained in:
w-okada 2023-08-26 14:40:30 +09:00
parent 9c89b53626
commit 8312189942
3 changed files with 8 additions and 0 deletions

3
docker_folder/model_dir/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!.gitignore

3
docker_folder/pretrain/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!.gitignore

View File

@ -24,6 +24,8 @@ if [ "${USE_GPU}" = "on" ]; then
-e EX_PORT=${EX_PORT} \
-e LOCAL_UID=$(id -u $USER) \
-e LOCAL_GID=$(id -g $USER) \
-v `pwd`/docker_folder/model_dir:/voice-changer/server/model_dir
-v `pwd`/docker_folder/pretrain:/voice-changer/server/pretrain
-p ${EX_PORT}:18888 \
$DOCKER_IMAGE -p 18888 --https true \
--content_vec_500 pretrain/checkpoint_best_legacy_500.pt \