Aborted (core dumped) 作者: jefferyzhang 时间: 2020-10-14 08:33
核对下pt版本,目前只支持1.2.0。
然后可以加置顶帖的qq群讨论下作者: 1105060120 时间: 2020-10-14 22:34
Traceback (most recent call last):
File "synthesis.py", line 67, in <module>
model, words, alpha=alpha)
File "synthesis.py", line 47, in synthesis
traced_script_module.save("c_fastspeech_model.pt")
RuntimeError:
could not export python function call Scatter. Remove calls to python functions before export.:作者: 1105060120 时间: 2020-10-14 22:35
Traceback (most recent call last):
File "test2.py", line 11, in <module>
torch.load('c_fastspeech_model.pt')
File "/home/lix/.local/lib/python3.6/site-packages/torch/serialization.py", line 367, in load
return _load(f, map_location, pickle_module)
File "/home/lix/.local/lib/python3.6/site-packages/torch/serialization.py", line 528, in _load
magic_number = pickle_module.load(f)
_pickle.UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.作者: 1105060120 时间: 2020-10-14 22:35
pt文件能转,但是load的时候有问题,是因为没转成功吗