mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-05 04:22:46 +08:00
修改原有Dockerfile和文档中错误的端口号;Dockerfile中可以去掉 VOLUME 的声明,同时将端口暴露缩减成一行。
This commit is contained in:
parent
3857c7d15b
commit
c990387f7e
11
Dockerfile
11
Dockerfile
@ -40,15 +40,6 @@ COPY . /workspace
|
|||||||
# Copy the rest of the application
|
# Copy the rest of the application
|
||||||
COPY . /workspace
|
COPY . /workspace
|
||||||
|
|
||||||
|
EXPOSE 9871 9872 9873 9874 9880
|
||||||
EXPOSE 9870
|
|
||||||
EXPOSE 9871
|
|
||||||
EXPOSE 9872
|
|
||||||
EXPOSE 9873
|
|
||||||
EXPOSE 9874
|
|
||||||
|
|
||||||
VOLUME /workspace/output
|
|
||||||
VOLUME /workspace/logs
|
|
||||||
VOLUME /workspace/SoVITS_weights
|
|
||||||
|
|
||||||
CMD ["python", "webui.py"]
|
CMD ["python", "webui.py"]
|
||||||
|
@ -154,7 +154,7 @@ docker compose -f "docker-compose.yaml" up -d
|
|||||||
As above, modify the corresponding parameters based on your actual situation, then run the following command:
|
As above, modify the corresponding parameters based on your actual situation, then run the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9870:9870 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9880:9880 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
## Dataset Format
|
## Dataset Format
|
||||||
|
@ -2,10 +2,11 @@ version: '3.8'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
gpt-sovits:
|
gpt-sovits:
|
||||||
image: breakstring/gpt-sovits:xxxxx # please change the image name and tag base your environment
|
image: breakstring/gpt-sovits:latest # please change the image name and tag base your environment. If the tag contains the word 'elite', such as "latest-elite", it indicates that the image does not include the necessary models such as GPT-SoVITS, UVR5, Damo ASR, etc. You will need to download them yourself and map them into the container.
|
||||||
container_name: gpt-sovits-container
|
container_name: gpt-sovits-container
|
||||||
environment:
|
environment:
|
||||||
- is_half=False
|
- is_half=False
|
||||||
|
- is_share=False
|
||||||
volumes:
|
volumes:
|
||||||
- ./output:/workspace/output
|
- ./output:/workspace/output
|
||||||
- ./logs:/workspace/logs
|
- ./logs:/workspace/logs
|
||||||
@ -13,7 +14,7 @@ services:
|
|||||||
- ./reference:/workspace/reference
|
- ./reference:/workspace/reference
|
||||||
working_dir: /workspace
|
working_dir: /workspace
|
||||||
ports:
|
ports:
|
||||||
- "9870:9870"
|
- "9880:9880"
|
||||||
- "9871:9871"
|
- "9871:9871"
|
||||||
- "9872:9872"
|
- "9872:9872"
|
||||||
- "9873:9873"
|
- "9873:9873"
|
||||||
|
@ -138,7 +138,7 @@ docker compose -f "docker-compose.yaml" up -d
|
|||||||
同上,根据您自己的实际情况修改对应的参数,然后运行如下命令:
|
同上,根据您自己的实际情况修改对应的参数,然后运行如下命令:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9870:9870 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9880:9880 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
### 预训练模型
|
### 预训练模型
|
||||||
|
@ -138,7 +138,7 @@ docker compose -f "docker-compose.yaml" up -d
|
|||||||
上記と同様に、実際の状況に基づいて対応するパラメータを変更し、次のコマンドを実行します:
|
上記と同様に、実際の状況に基づいて対応するパラメータを変更し、次のコマンドを実行します:
|
||||||
|
|
||||||
```markdown
|
```markdown
|
||||||
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9870:9870 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9880:9880 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
### 事前訓練済みモデル
|
### 事前訓練済みモデル
|
||||||
|
@ -141,7 +141,7 @@ docker compose -f "docker-compose.yaml" up -d
|
|||||||
위와 동일하게 실제 상황에 맞게 매개변수를 수정한 다음 다음 명령을 실행합니다:
|
위와 동일하게 실제 상황에 맞게 매개변수를 수정한 다음 다음 명령을 실행합니다:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9870:9870 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
docker run --rm -it --gpus=all --env=is_half=False --volume=G:\GPT-SoVITS-DockerTest\output:/workspace/output --volume=G:\GPT-SoVITS-DockerTest\logs:/workspace/logs --volume=G:\GPT-SoVITS-DockerTest\SoVITS_weights:/workspace/SoVITS_weights --workdir=/workspace -p 9880:9880 -p 9871:9871 -p 9872:9872 -p 9873:9873 -p 9874:9874 --shm-size="16G" -d breakstring/gpt-sovits:xxxxx
|
||||||
```
|
```
|
||||||
|
|
||||||
### 사전 훈련된 모델
|
### 사전 훈련된 모델
|
||||||
|
Loading…
x
Reference in New Issue
Block a user