-
Notifications
You must be signed in to change notification settings - Fork 304
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
CTC/AED PROBLEM IN K2 #1618
Comments
It seems that you have nan values in the forward pass of your model. How many GPUs and what max_duration are you using? |
Thanks for your kind reply, and we used the following params to train zipformer(CTC/AED) model.
|
i would guess nan has appeared in model. are you running with --inf-check
True? If not, add it. and show log output leading up to that failure.
may be divergence but let's see that log.
…On Monday, May 6, 2024, hahaha ***@***.***> wrote:
We using the following code to remove the utt in zipformer/train.py:
image.png (view on web)
<https://github.com/k2-fsa/icefall/assets/42910032/32584714-17d2-4510-8d70-24d31161eca9>
image.png (view on web)
<https://github.com/k2-fsa/icefall/assets/42910032/128c4832-4d6e-43de-acc3-8951794780a9>
—
Reply to this email directly, view it on GitHub
<#1618 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAZFLO5PMEZW7BLHUDKAC7DZA5HRTAVCNFSM6AAAAABHIWPLKKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJVGYYDAOJYHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
He ran that with |
Thanks for advise, and we use the following model config, the same problem still oocrs. export CUDA_VISIBLE_DEVICES="0,1,2" ./zipformer/train.py |
The detail error logs are as follow: Traceback (most recent call last): -- Process 1 terminated with the following error: |
I meant the normal training log output leading up to that point, not the error traceback. |
Thanks Dan, my idol. |
When we trained model(#1389) with k2, the following problem will occured. We don't know how to solve it. Can anyone help me?
The text was updated successfully, but these errors were encountered: