|
|
@ -247,11 +247,13 @@ class TTSServerExecutor(TTSExecutor):
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
# multi speaker do not have static model
|
|
|
|
# multi speaker do not have static model
|
|
|
|
if am_dataset in {"aishell3", "vctk"}:
|
|
|
|
if am_dataset in {"aishell3", "vctk"}:
|
|
|
|
pass
|
|
|
|
am_result = run_model(
|
|
|
|
|
|
|
|
self.am_predictor,
|
|
|
|
|
|
|
|
[part_phone_ids.numpy(), np.array([spk_id])])
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
am_result = run_model(self.am_predictor,
|
|
|
|
am_result = run_model(self.am_predictor,
|
|
|
|
[part_phone_ids.numpy()])
|
|
|
|
[part_phone_ids.numpy()])
|
|
|
|
mel = am_result[0]
|
|
|
|
mel = am_result[0]
|
|
|
|
self.am_time += (time.time() - am_st)
|
|
|
|
self.am_time += (time.time() - am_st)
|
|
|
|
|
|
|
|
|
|
|
|
# voc
|
|
|
|
# voc
|
|
|
|