mandarin-tts
mandarin-tts copied to clipboard
使用biaobei数据集,train在step9980时这样报错,请问我应该从哪里开始修改呢
RuntimeError: cannot reshape tensor of 0 elements into shape [0, 39, -1] because the unspecified dimension size -1 can be any value and is ambiguous
- 检查输入是否有空行。
- 可以在报错的地方加入 try: 出错行 except: import pdb;pdb.set_trace()
然后进行调式模式看为啥出错
RuntimeError: cannot reshape tensor of 0 elements into shape [0, 39, -1] because the unspecified dimension size -1 can be any value and is ambiguous
我也碰到这个一摸一样的问题,按照@ranchlai 的做法没得到解决,请问你现在解决了吗?