Refactor: moved commons.py to style_bert_vits2/models/ and added type definitions and comments
This commit is contained in:
@@ -3,7 +3,7 @@ import torch
|
||||
from torch import nn
|
||||
from torch.nn import functional as F
|
||||
|
||||
import commons
|
||||
from style_bert_vits2.models import commons
|
||||
import modules
|
||||
import attentions
|
||||
import monotonic_align
|
||||
@@ -11,7 +11,7 @@ import monotonic_align
|
||||
from torch.nn import Conv1d, ConvTranspose1d, Conv2d
|
||||
from torch.nn.utils import weight_norm, remove_weight_norm, spectral_norm
|
||||
|
||||
from commons import init_weights, get_padding
|
||||
from style_bert_vits2.models.commons import init_weights, get_padding
|
||||
from text import symbols, num_tones, num_languages
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user