-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
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
log_softmax Error #4
Comments
Hi, can I know the position of this error? Also can I know your Pytorch version? This project has been written with pytorch 0.4, which is quite old. There might be some changes inside Pytorch, but they are not difficult to fix. Thanks |
I am sorry for bothering you.
The error location is in the following lines and I am using PyTorch 0.4.0
File
"/media/rdi5/05500E3D0BBEFF2B/ASR_Ali/Diarization/rpnsd/RPNSD/scripts/utils.py",
line 101, in train
dev_info = validate(dev_loader, model, device, args)
File
"/media/rdi5/05500E3D0BBEFF2B/ASR_Ali/Diarization/rpnsd/RPNSD/scripts/utils.py",
line 171, in validate
…On Mon, Apr 6, 2020 at 5:53 AM Zili Huang ***@***.***> wrote:
Closed #4 <#4>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APAHCWIJG3QW2SXGCEJU3RTRLHGD5ANCNFSM4LXRBFOQ>
.
--
*Ali Ramadan*Machine Learning Researcher
+20 01091887426 <+2001091887426>
Ali.ramadan@rdi-eg.ai <ali.ramadan@rdi-eg.ai>
www.rdi-eg. <https://www.rdi-eg.com/>ai
12 A Haroun St., Dokki, Giza, Egypt <https://goo.gl/maps/rCDWyUxNSbdMCW7L8>
|
I am getting the same error at some inspection shows that it is loading some invalid batch |
Seems the problem is that there are utterances with no speech segments. I think this is a bug. You can avoid this issue by (1) avoid such utterances (2) skip this loss if len(cls_score_nonzero) == 0. I will fix this soon. Thanks for pointing out. |
@AliRamamadan |
When using the adaptation script using my own dataset I get this error:
The text was updated successfully, but these errors were encountered: