Skip to content

Commit

Permalink
v2 64
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMax2016 authored Sep 22, 2023
1 parent 9102068 commit edfd924
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The framework of grad-svc-v1

![grad_svc_v2](./assets/grad_svc_v2.jpg)

The framework of grad-svc-v2, encoder:768->512, diffusion:64->96
The framework of grad-svc-v2-64, encoder:768->512, diffusion:64

https://github.com/PlayVoice/Grad-SVC/assets/16432329/f9b66af7-b5b5-4efb-b73d-adb0dc84a0ae

Expand All @@ -34,6 +34,10 @@ https://github.com/PlayVoice/Grad-SVC/assets/16432329/f9b66af7-b5b5-4efb-b73d-ad

6. Integrated Fast Maximum Likelihood Sampling Scheme

7. Low GPU memery required for train

`6.2GB for batch_size=8`

## Setup Environment
1. Install project dependencies

Expand All @@ -47,13 +51,17 @@ https://github.com/PlayVoice/Grad-SVC/assets/16432329/f9b66af7-b5b5-4efb-b73d-ad

4. Download pretrained [nsf_bigvgan_pretrain_32K.pth](https://github.com/PlayVoice/NSF-BigVGAN/releases/augment), and put it into `bigvgan_pretrain/`.

5. Download pretrain model [gvc.pretrain.pth](https://github.com/PlayVoice/Grad-SVC/releases/tag/20230920), and put it into `grad_pretrain/`.
**Performance Bottleneck: Generator and Discriminator are 116Mb, but Generator is only 22Mb**

**系统性能瓶颈:生成器和判别器一共116M,而生成器只有22M**

5. Download pretrain model [gvc.pretrain.pth](https://github.com/PlayVoice/Grad-SVC/releases/tag/20230922), and put it into `grad_pretrain/`.
```
python gvc_inference.py --model ./grad_pretrain/gvc.pretrain.pth --spk ./configs/singers/singer0001.npy --wave test.wav
```

For this pretrain model, `temperature` is set `temperature=1.015` in `gvc_inference.py` to get good result.

## Dataset preparation
Put the dataset into the `data_raw` directory following the structure below.
```
Expand Down

0 comments on commit edfd924

Please sign in to comment.