We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43af086 commit 396f8dfCopy full SHA for 396f8df
bert_gen.py
@@ -3,7 +3,7 @@
3
import commons
4
import utils
5
from tqdm import tqdm
6
-from text import check_bert_models, cleaned_text_to_sequence, get_bert
+from text import cleaned_text_to_sequence, get_bert
7
import argparse
8
import torch.multiprocessing as mp
9
from config import config
@@ -59,7 +59,6 @@ def process_line(x):
59
args, _ = parser.parse_known_args()
60
config_path = args.config
61
hps = utils.get_hparams_from_file(config_path)
62
- check_bert_models()
63
lines = []
64
with open(hps.data.training_files, encoding="utf-8") as f:
65
lines.extend(f.readlines())
0 commit comments