Traceback (most recent call last): File "F:\python3.7.9\python_work\克隆声音\MockingBird\toolbox\__init__.py", line 143, in <lambda> func = lambda: self.synthesize() or self.vocode() File "F:\python3.7.9\python_work\克隆声音\MockingBird\toolbox\__init__.py", line 293, in vocode wav, sample_rate = vocoder.infer_waveform(spec, progress_callback=vocoder_progress) File "F:\python3.7.9\python_work\克隆声音\MockingBird\vocoder\wavernn\inference.py", line 63, in infer_waveform wav = _model.generate(mel, batched, target, overlap, hp.mu_law, progress_callback) File "F:\python3.7.9\python_work\克隆声音\MockingBird\vocoder\wavernn\models\fatchord_version.py", line 253, in generate output[-20 * self.hop_length:] *= fade_out ValueError: operands could not be broadcast together with shapes (2200,) (4000,) (2200,)
时间: 2023-02-08 15:23:11 浏览: 123
Mac下anaconda中Spyder打开报错Traceback(most recent call last)…问题
5星 · 资源好评率100%
这是一个程序运行错误,错误信息显示在文件 "F:\python3.7.9\python_work\克隆声音\MockingBird\vocoder\wavernn\models\fatchord_version.py" 的第253行。错误类型是 "ValueError",错误原因是 "operands could not be broadcast together with shapes (2200,) (4000,)",即两个数组的形状不能进行广播运算。可能是因为程序中有错误的数组大小或者错误的运算方式。建议检查程序并修正错误。
阅读全文