This code is an implementation of DiffSinger for Korean. The algorithm is based on the following papers:
Before proceeding, please set the pattern, inference, and checkpoint paths in Hyper_Parameters.yaml according to your environment.
Sound
Tokens
Notes
Durations
Genres
Singers
Duration
True, onset, nucleus, and coda have same length or ±1 difference.False, onset and coda have Consonant_Duration length, and nucleus has duration - 2 * Consonant_Duration.Feature_Type
Mel or Spectrogram).Encoder
Diffusion
Train
Inference_Batch_Size
Inference_Path
Checkpoint_Path
Log_Path
Use_Mixed_Precision
Use_Multi_GPU
True, device parameter is also multiple like '0,1,2,3'.Device
python Pattern_Generate.py [parameters]
python Train.py -hp <path> -s <int>
-hp <path>
-s <int>
0.0, model try to search the latest checkpoint.CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 OMP_NUM_THREADS=32 python -m torch.distributed.launch --nproc_per_node=8 Train.py --hyper_parameters Hyper_Parameters.yaml --port 54322
Python
97.2%
Jupyter Notebook
2.7%
This code is an implementation of DiffSinger for Korean. The algorithm is based on the following papers:
Before proceeding, please set the pattern, inference, and checkpoint paths in Hyper_Parameters.yaml according to your environment.
Sound
Tokens
Notes
Durations
Genres
Singers
Duration
True, onset, nucleus, and coda have same length or ±1 difference.False, onset and coda have Consonant_Duration length, and nucleus has duration - 2 * Consonant_Duration.Feature_Type
Mel or Spectrogram).Encoder
Diffusion
Train
Inference_Batch_Size
Inference_Path
Checkpoint_Path
Log_Path
Use_Mixed_Precision
Use_Multi_GPU
True, device parameter is also multiple like '0,1,2,3'.Device
python Pattern_Generate.py [parameters]
python Train.py -hp <path> -s <int>
-hp <path>
-s <int>
0.0, model try to search the latest checkpoint.CUDA_VISIBLE_DEVICES=0,1,2,3,4,5,6,7 OMP_NUM_THREADS=32 python -m torch.distributed.launch --nproc_per_node=8 Train.py --hyper_parameters Hyper_Parameters.yaml --port 54322
Python
97.2%
Jupyter Notebook
2.7%