mandarin-tts icon indicating copy to clipboard operation
mandarin-tts copied to clipboard

使用biaobei数据集,train在step9980时这样报错,请问我应该从哪里开始修改呢

Open sisibeauty opened this issue 4 years ago • 2 comments

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

sisibeauty avatar Jul 10 '21 15:07 sisibeauty

  1. 检查输入是否有空行。
  2. 可以在报错的地方加入 try: 出错行 except: import pdb;pdb.set_trace()

然后进行调式模式看为啥出错

ranchlai avatar Jul 10 '21 15:07 ranchlai

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 的做法没得到解决,请问你现在解决了吗?

Moonmore avatar Jul 25 '21 04:07 Moonmore