Skip to content

Commit 396f8df

Browse files
authored
Update bert_gen.py (#255)
1 parent 43af086 commit 396f8df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bert_gen.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import commons
44
import utils
55
from tqdm import tqdm
6-
from text import check_bert_models, cleaned_text_to_sequence, get_bert
6+
from text import cleaned_text_to_sequence, get_bert
77
import argparse
88
import torch.multiprocessing as mp
99
from config import config
@@ -59,7 +59,6 @@ def process_line(x):
5959
args, _ = parser.parse_known_args()
6060
config_path = args.config
6161
hps = utils.get_hparams_from_file(config_path)
62-
check_bert_models()
6362
lines = []
6463
with open(hps.data.training_files, encoding="utf-8") as f:
6564
lines.extend(f.readlines())

0 commit comments

Comments
 (0)