Skip to content
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

训练是 ctcloss爆炸 #4

Open
apple2333cream opened this issue Feb 10, 2023 · 1 comment
Open

训练是 ctcloss爆炸 #4

apple2333cream opened this issue Feb 10, 2023 · 1 comment

Comments

@apple2333cream
Copy link

ctc loss tensor(inf, device='cuda:0')
0/600/0/2000 | loss:inf | score_loss:0.82 | border_loss:0.56 | direction_loss:0.42 | ctc_loss:inf | | Lr:0.00100000
/home/wzp/project/torch/lib/python3.6/site-packages/torch/nn/functional.py:1569: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.
warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")
ctc loss tensor(nan, device='cuda:0')
ctc loss tensor(nan, device='cuda:0')
ctc loss tensor(nan, device='cuda:0')

@fxwfzsxyq
Copy link

ctc loss tensor(inf, device='cuda:0') 0/600/0/2000 | loss:inf | score_loss:0.82 | border_loss:0.56 | direction_loss:0.42 | ctc_loss:inf | | Lr:0.00100000 /home/wzp/project/torch/lib/python3.6/site-packages/torch/nn/functional.py:1569: UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead. warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.") ctc loss tensor(nan, device='cuda:0') ctc loss tensor(nan, device='cuda:0') ctc loss tensor(nan, device='cuda:0')

建议用paddleocr的英文数据集先跑跑看 可能是数据处理的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants