mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 05:25:01 +03:00
fix: docker
This commit is contained in:
parent
df199516c2
commit
dd7a343c65
@ -43,8 +43,6 @@ ADD dummy /
|
||||
RUN git clone https://github.com/w-okada/voice-changer.git -b v.1.5.3.5a
|
||||
|
||||
|
||||
ADD /setup.sh /voice-changer/server
|
||||
ADD /exec.sh /voice-changer/server
|
||||
|
||||
RUN chmod 0777 /voice-changer/server
|
||||
WORKDIR /voice-changer/server
|
||||
@ -64,4 +62,9 @@ RUN git clone https://github.com/yxlllc/DDSP-SVC.git DDSP-SVC
|
||||
RUN cd DDSP-SVC && git checkout e716efb14aee747492bc6ac1deb07506c26ed550 && cd -
|
||||
RUN git clone https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI.git RVC
|
||||
RUN cd RVC && git checkout 563c64ded9925085f547b13ecafb8eb9c182952b && cd -
|
||||
|
||||
ADD /setup.sh /voice-changer/server
|
||||
ADD /exec.sh /voice-changer/server
|
||||
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "setup.sh"]
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -eu
|
||||
|
||||
cp -r /weights/* /voice-changer/server/
|
||||
# cp -r /weights/* /voice-changer/server/
|
||||
# /bin/bash
|
||||
|
||||
python3 MMVCServerSIO.py $@
|
||||
|
@ -21,7 +21,6 @@ if [ "${USE_GPU}" = "on" ]; then
|
||||
echo "VC Client start...(with gpu)"
|
||||
|
||||
docker run -it --rm --gpus all --shm-size=1024M \
|
||||
-v `pwd`/docker_vcclient/weights:/weights \
|
||||
-e EX_IP="`hostname -I`" \
|
||||
-e EX_PORT=${EX_PORT} \
|
||||
-e LOCAL_UID=$(id -u $USER) \
|
||||
@ -37,7 +36,6 @@ if [ "${USE_GPU}" = "on" ]; then
|
||||
else
|
||||
echo "VC Client start...(cpu)"
|
||||
docker run -it --rm --shm-size=1024M \
|
||||
-v `pwd`/docker_vcclient/weights:/weights \
|
||||
-e EX_IP="`hostname -I`" \
|
||||
-e EX_PORT=${EX_PORT} \
|
||||
-e LOCAL_UID=$(id -u $USER) \
|
||||
|
Loading…
Reference in New Issue
Block a user