mirror of https://github.com/coqui-ai/TTS.git
chore(encoder): remove unused code
This commit is contained in:
parent
7e4375da2b
commit
fdf0c8b10a
|
@ -2,7 +2,6 @@ import datetime
|
|||
import glob
|
||||
import os
|
||||
import random
|
||||
import re
|
||||
|
||||
import numpy as np
|
||||
from scipy import signal
|
||||
|
@ -118,11 +117,6 @@ class AugmentWAV(object):
|
|||
return self.additive_noise(noise_type, audio)
|
||||
|
||||
|
||||
def to_camel(text):
|
||||
text = text.capitalize()
|
||||
return re.sub(r"(?!^)_([a-zA-Z])", lambda m: m.group(1).upper(), text)
|
||||
|
||||
|
||||
def setup_encoder_model(config: "Coqpit"):
|
||||
if config.model_params["model_name"].lower() == "lstm":
|
||||
model = LSTMSpeakerEncoder(
|
||||
|
|
Loading…
Reference in New Issue