voice-changer/docker_vcclient/README_en.md

66 lines
1.0 KiB
Markdown
Raw Normal View History

2023-04-19 18:43:28 +03:00
## VC Client for Docker
2023-08-27 05:26:18 +03:00
[Japanese](./README.md)
2023-04-19 18:43:28 +03:00
## Build
In root folder of repos.
```
npm run build:docker:vcclient
```
2023-04-19 19:06:56 +03:00
## preparation
Store weights of external models in `docker_vcclient/weights`. Which weights should be in the folder depends on which kind of VC you use.
```
$ tree docker_vcclient/weights/
docker_vcclient/weights/
├── checkpoint_best_legacy_500.onnx
├── checkpoint_best_legacy_500.pt
├── hubert-soft-0d54a1f4.pt
├── hubert_base.pt
└── nsf_hifigan
├── NOTICE.txt
├── NOTICE.zh-CN.txt
├── config.json
└── model
```
2023-04-19 18:43:28 +03:00
## Run
In root folder of repos.
```
bash start_docker.sh
```
2023-07-29 17:15:04 +03:00
Access with Browser (currently only chrome is supported), then you can see gui.
## RUN with options
2023-04-19 18:43:28 +03:00
Without GPU
```
USE_GPU=off bash start_docker.sh
```
Specify port num
```
EX_PORT=<port> bash start_docker.sh
```
Use Local Image
```
USE_LOCAL=on bash start_docker.sh
```
## Push to Repo (only for devs)
```
npm run push:docker:vcclient
```