Refactor: moved commons.py to style_bert_vits2/models/ and added type definitions and comments

This commit is contained in:
tsukumi
2024-03-06 22:17:03 +00:00
parent 46c83cf89a
commit 9546495434
11 changed files with 348 additions and 164 deletions

View File

@@ -8,10 +8,10 @@ from torch.nn import functional as F
from torch.nn.utils import remove_weight_norm, spectral_norm, weight_norm
import attentions
import commons
from style_bert_vits2.models import commons
import modules
import monotonic_align
from commons import get_padding, init_weights
from style_bert_vits2.models.commons import get_padding, init_weights
from text import num_languages, num_tones, symbols