Fix multiprocessing bert_gen error of pyopenjtalk_worker
This commit is contained in:
@@ -6,14 +6,13 @@ import torch.multiprocessing as mp
|
||||
from tqdm import tqdm
|
||||
|
||||
import commons
|
||||
from text.get_bert import get_bert
|
||||
import text.pyopenjtalk_worker as pyopenjtalk
|
||||
import utils
|
||||
from common.log import logger
|
||||
from common.stdout_wrapper import SAFE_STDOUT
|
||||
from config import config
|
||||
from text import cleaned_text_to_sequence, get_bert
|
||||
|
||||
pyopenjtalk.initialize()
|
||||
from text import cleaned_text_to_sequence
|
||||
|
||||
|
||||
def process_line(x):
|
||||
|
||||
Reference in New Issue
Block a user