每次运行都是在进度条快完成时报exception,如:
generate wave
{| ████████████████ 47500/48000 | Batch Size: 5 | Gen Rate: 4.4kHz | }
C:\Users\xxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\lib\arraypad.py:736: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
array = np.asarray(array)
Caught exception: ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()')
Restarting
我把此文件上方的from models.vocoder import inference as vocoder改成了from models.vocoder.wavernn import inference as vocoder(否则import inference会直接报错)
每次运行都是在进度条快完成时报exception,如: generate wave {| ████████████████ 47500/48000 | Batch Size: 5 | Gen Rate: 4.4kHz | } C:\Users\xxxxx\AppData\Local\Programs\Python\Python310\lib\site-packages\numpy\lib\arraypad.py:736: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. array = np.asarray(array) Caught exception: ValueError('The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()') Restarting
我把此文件上方的from models.vocoder import inference as vocoder改成了from models.vocoder.wavernn import inference as vocoder(否则import inference会直接报错)
请问这是什么原因呢?谢谢!