mirror of
https://github.com/RVC-Boss/GPT-SoVITS.git
synced 2025-04-26 19:46:37 +08:00
修改代码引用,淡定
This commit is contained in:
parent
b9636b8669
commit
2e2e97db1b
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/bucketsampler.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/data/bucket_sampler.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import itertools
|
import itertools
|
||||||
import math
|
import math
|
||||||
import random
|
import random
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/data_module.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/data/data_module.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
from pytorch_lightning import LightningDataModule
|
from pytorch_lightning import LightningDataModule
|
||||||
from AR.data.bucket_sampler import DistributedBucketSampler
|
from AR.data.bucket_sampler import DistributedBucketSampler
|
||||||
from AR.data.dataset import Text2SemanticDataset
|
from AR.data.dataset import Text2SemanticDataset
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/t2s_dataset.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/data/dataset.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import pdb
|
import pdb
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/model/t2s_lightning_module.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/models/t2s_lightning_module.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
now_dir = os.getcwd()
|
now_dir = os.getcwd()
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/model/t2s_lightning_module.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/models/t2s_lightning_module.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import os, sys
|
import os, sys
|
||||||
|
|
||||||
now_dir = os.getcwd()
|
now_dir = os.getcwd()
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/model/t2s_model.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/models/t2s_model.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import torch
|
import torch
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/model/t2s_model.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/models/t2s_model.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import torch
|
import torch
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/model/utils.py\
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/models/utils.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import torch
|
import torch
|
||||||
import torch.nn.functional as F
|
import torch.nn.functional as F
|
||||||
from typing import Tuple
|
from typing import Tuple
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/model/lr_schedulers.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/modules/lr_schedulers.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import math
|
import math
|
||||||
|
|
||||||
import torch
|
import torch
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/text_processing/phonemizer.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/text_processing/phonemizer.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
import itertools
|
import itertools
|
||||||
import re
|
import re
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# modified from https://github.com/feng-yufei/shared_debugging_code/blob/main/text_processing/symbols.py
|
# modified from https://github.com/yangdongchao/SoundStorm/blob/master/soundstorm/s1/AR/text_processing/symbols.py
|
||||||
|
# reference: https://github.com/lifeiteng/vall-e
|
||||||
PAD = "_"
|
PAD = "_"
|
||||||
PUNCTUATION = ';:,.!?¡¿—…"«»“” '
|
PUNCTUATION = ';:,.!?¡¿—…"«»“” '
|
||||||
LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user