We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there,
I have a question regarding the handling of padding during loss calculation in the AR training process of the VALL-E model.
In the script Amphion/models/tts/valle/valle.py, is the padding not specifically handled during AR stage training?
ar_loss = F.cross_entropy(logits, targets, reduction=reduction)
For the NAR stage, I observed that the padding is processed using the ignore option.
nar_loss = F.cross_entropy( logits, targets, ignore_index=self.audio_token_num, reduction=reduction, ) * (total_length / (total_length - prefix_len * x.shape[0]))
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
I have a question regarding the handling of padding during loss calculation in the AR training process of the VALL-E model.
In the script Amphion/models/tts/valle/valle.py, is the padding not specifically handled during AR stage training?
For the NAR stage, I observed that the padding is processed using the ignore option.
Thank you.
The text was updated successfully, but these errors were encountered: