update wavernn test config, delete cap=True

This commit is contained in:
Branislav Gerazov 2021-02-05 13:10:02 +01:00 committed by Eren Gölge
parent b1e3160884
commit 5e2bc8c99f
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ def plot_results(y_hat, y, ap, global_step, name_prefix):
return figures
def to_camel(text, cap=True):
def to_camel(text):
text = text.capitalize()
return re.sub(r'(?!^)_([a-zA-Z])', lambda m: m.group(1).upper(), text)