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
The text was updated successfully, but these errors were encountered:
MHamzaAhmad
changed the title
Loss is NaN on firsr step, if data exceeds 100 sentences
Loss is NaN on first step, if data exceeds 100 sentences
Dec 19, 2021
@BlazJurisic and others: NaN values error may be due to pytorch version. You can check the in model.py code in tacotron2 folder. In that, check decode class, def forward, if you are using torch 1.7 then just change that as below:
#memory, mask=~get_mask_from_lengths(memory_lengths))
memory, mask=torch.logical_not(get_mask_from_lengths(memory_lengths)).type(torch.uint8)) # Use instead for torch 1.7
No description provided.
The text was updated successfully, but these errors were encountered: