徐龙
徐龙
if self.pitch_normalization: # 检查scaler是否已拟合 if hasattr(pitch_scaler, 'mean_') and pitch_scaler.mean_ is not None: pitch_mean = pitch_scaler.mean_[0] pitch_std = pitch_scaler.scale_[0] else: print(f"警告: 无有效音高数据,使用默认值") pitch_mean, pitch_std = 0, 1 # 安全回退值 else: #...
可以转[onnx](https://github.com/season-studio/MeloTTS-ONNX),然后转om试试,可以的话踢我一下
我也想知道如何训练tone_clone_model。对于你这个问题,openvoice是基于VITS的声学模型,需要将文本转为音素,这才是基础的发音单元,而不是文字,不然文字太多了呀,映射表里保存太麻烦了吧