1
0
mirror of synced 2024-11-23 23:21:03 +01:00

replace infer_pack

This commit is contained in:
Ftps 2023-08-19 19:40:08 +09:00
parent 8d432964a8
commit 2e2a72f0e5
12 changed files with 21 additions and 21 deletions

View File

@ -5,9 +5,9 @@ import torch
from torch import nn
from torch.nn import functional as F
from lib.infer_pack import commons
from lib.infer_pack import modules
from lib.infer_pack.modules import LayerNorm
from infer.lib.infer_pack import commons
from infer.lib.infer_pack import modules
from infer.lib.infer_pack.modules import LayerNorm
class Encoder(nn.Module):

View File

@ -3,15 +3,15 @@ from time import time as ttime
import torch
from torch import nn
from torch.nn import functional as F
from lib.infer_pack import modules
from lib.infer_pack import attentions
from lib.infer_pack import commons
from lib.infer_pack.commons import init_weights, get_padding
from infer.lib.infer_pack import modules
from infer.lib.infer_pack import attentions
from infer.lib.infer_pack import commons
from infer.lib.infer_pack.commons import init_weights, get_padding
from torch.nn import Conv1d, ConvTranspose1d, AvgPool1d, Conv2d
from torch.nn.utils import weight_norm, remove_weight_norm, spectral_norm
from lib.infer_pack.commons import init_weights
from infer.lib.infer_pack.commons import init_weights
import numpy as np
from lib.infer_pack import commons
from infer.lib.infer_pack import commons
class TextEncoder256(nn.Module):

View File

@ -3,15 +3,15 @@ from time import time as ttime
import torch
from torch import nn
from torch.nn import functional as F
from lib.infer_pack import modules
from lib.infer_pack import attentions
from lib.infer_pack import commons
from lib.infer_pack.commons import init_weights, get_padding
from infer.lib.infer_pack import modules
from infer.lib.infer_pack import attentions
from infer.lib.infer_pack import commons
from infer.lib.infer_pack.commons import init_weights, get_padding
from torch.nn import Conv1d, ConvTranspose1d, AvgPool1d, Conv2d
from torch.nn.utils import weight_norm, remove_weight_norm, spectral_norm
from lib.infer_pack.commons import init_weights
from infer.lib.infer_pack.commons import init_weights
import numpy as np
from lib.infer_pack import commons
from infer.lib.infer_pack import commons
class TextEncoder256(nn.Module):

View File

@ -9,9 +9,9 @@ from torch.nn import functional as F
from torch.nn import Conv1d, ConvTranspose1d, AvgPool1d, Conv2d
from torch.nn.utils import weight_norm, remove_weight_norm
from lib.infer_pack import commons
from lib.infer_pack.commons import init_weights, get_padding
from lib.infer_pack.transforms import piecewise_rational_quadratic_transform
from infer.lib.infer_pack import commons
from infer.lib.infer_pack.commons import init_weights, get_padding
from infer.lib.infer_pack.transforms import piecewise_rational_quadratic_transform
LRELU_SLOPE = 0.1

View File

@ -1,4 +1,4 @@
from lib.infer_pack.modules.F0Predictor.F0Predictor import F0Predictor
from infer.lib.infer_pack.modules.F0Predictor.F0Predictor import F0Predictor
import pyworld
import numpy as np

View File

@ -1,4 +1,4 @@
from lib.infer_pack.modules.F0Predictor.F0Predictor import F0Predictor
from infer.lib.infer_pack.modules.F0Predictor.F0Predictor import F0Predictor
import pyworld
import numpy as np

View File

@ -1,4 +1,4 @@
from lib.infer_pack.modules.F0Predictor.F0Predictor import F0Predictor
from infer.lib.infer_pack.modules.F0Predictor.F0Predictor import F0Predictor
import parselmouth
import numpy as np