Merge pull request #514 from Eidenz/master

Update docker to v.1.5.3.10
This commit is contained in:
w-okada 2023-07-22 00:05:50 +09:00 committed by GitHub
commit ec4f62f54a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -9,13 +9,15 @@ RUN apt-get update \
WORKDIR / WORKDIR /
ADD dummy / ADD dummy /
RUN git clone https://github.com/w-okada/voice-changer.git -b v.1.5.3.9a RUN git clone https://github.com/w-okada/voice-changer.git -b v.1.5.3.10
RUN chmod 0777 /voice-changer/server RUN chmod 0777 /voice-changer/server
WORKDIR /voice-changer/server WORKDIR /voice-changer/server
RUN pip install -r requirements.txt RUN pip install numpy==1.23.5 \
&& pip install pyworld==0.3.3 --no-build-isolation \
&& pip install -r requirements.txt
# RUN git clone https://github.com/isletennos/MMVC_Client.git MMVC_Client_v13 # RUN git clone https://github.com/isletennos/MMVC_Client.git MMVC_Client_v13
# RUN cd MMVC_Client_v13 && git checkout 04f3fec4fd82dea6657026ec4e1cd80fb29a415c && cd - # RUN cd MMVC_Client_v13 && git checkout 04f3fec4fd82dea6657026ec4e1cd80fb29a415c && cd -

View File

@ -35,6 +35,7 @@ if [ "${USE_GPU}" = "on" ]; then
--nsf_hifigan pretrain/nsf_hifigan/model \ --nsf_hifigan pretrain/nsf_hifigan/model \
--crepe_onnx_full pretrain/crepe_onnx_full.onnx \ --crepe_onnx_full pretrain/crepe_onnx_full.onnx \
--crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx \ --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx \
--rmvpe pretrain/rmvpe.pt \
--model_dir model_dir \ --model_dir model_dir \
--samples samples.json --samples samples.json
else else
@ -55,6 +56,7 @@ else
--nsf_hifigan pretrain/nsf_hifigan/model \ --nsf_hifigan pretrain/nsf_hifigan/model \
--crepe_onnx_full pretrain/crepe_onnx_full.onnx \ --crepe_onnx_full pretrain/crepe_onnx_full.onnx \
--crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx \ --crepe_onnx_tiny pretrain/crepe_onnx_tiny.onnx \
--rmvpe pretrain/rmvpe.pt \
--model_dir model_dir \ --model_dir model_dir \
--samples samples.json --samples samples.json
fi fi