You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,thanks for your great work.
I'm having trouble running the following command in terminal: python train.py -c configs/lj_16k_gt_dur.yaml -m lj_16k_gt_dur
But the following error occurs:
I changed this line of code to abs(sum(dur) - mel.shape[1]) <= 1
and it works, but I don't know if it has any effect on the result.
Appears during operation
numpy/core/fromnumeric.py:3440:
RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype,
and
numpy/core/_methods.py:189:
RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount)
The text was updated successfully, but these errors were encountered:
@chasing-ant This length mismatch is a common phenomenon, and you can overcome this by truncating or padding the features to the same length. In your case, as mel is one frame shorter than durations, the recommended solution is to zero-pad the mel sequence by 1 frame. I am not sure whether the numpy RuntimeWarning will affect the result (intuitively it won't), but at least padding or truncating before training can avoid such warnings.
@chasing-ant This length mismatch is a common phenomenon, and you can overcome this by truncating or padding the features to the same length. In your case, as mel is one frame shorter than durations, the recommended solution is to zero-pad the mel sequence by 1 frame. I am not sure whether the numpy RuntimeWarning will affect the result (intuitively it won't), but at least padding or truncating before training can avoid such warnings.
I'll give it a try, thank you for your detailed explanation.
Hi,thanks for your great work.
I'm having trouble running the following command in terminal:
python train.py -c configs/lj_16k_gt_dur.yaml -m lj_16k_gt_dur
But the following error occurs:
I changed this line of code to
abs(sum(dur) - mel.shape[1]) <= 1
and it works, but I don't know if it has any effect on the result.
Appears during operation
and
The text was updated successfully, but these errors were encountered: